If you want to successfully build your first package:
A Read the available documentaiton by following this order:
1. How to build a package ?2. Read the manual pages of cards, pkgmk and pkgmk.conf
man cards
man pkgmk
man pkgmk.conf
B. Try an already existing port
C. Ask for help HERE if it's still not working