Marc Espie writes:
> Thus, I welcome actual workflow inputs.

This is the procedure I use:

1.  cd /usr/ports/foo/bar
2.  cp /usr/ports/infrastructure/templates/Makefile.template Makefile
3.  vi Makefile
4.  delete everything up to COMMENT and set COMMENT
5.  delete everything up to DISTNAME, set DISTNAME and PKGNAME
6a. if GitHub without releases, delete GH_* comments and set GH_* vars
6b. otherwise, delete GH_*, skip ahead to MASTER_SITES, deleting comments
    along the way
7.  go back, skip SHARED_LIBS, set CATEGORIES, HOMEPAGE, MAINTAINER 
8.  if needed, fill out MASTER_SITES0, DISTFILES, EXTRACT_SUFX, DIST_SUBDIR
9.  exit to shell, make makesum && make patch
10. scroll back up, set PERMIT_*, COMPILER, MODULES, CONFIGURE_STYLE
11. add LIB_DEPENDS until make plist succeeds
12. make port-lib-depends-check and set WANTLIB
13. clean up PLIST as much as possible by setting build system stuff,
    then make clean && make plist until satisfied
14. do a clean configure run and work on improving BUILD/LIB_DEPENDS
15. get tests working if applicable
16. test build in a clean VM

Those are the common steps. Of course every port is different, but this
is what my fingers remember.

Reply via email to