comments/ok?

Index: Makefile.template
===================================================================
RCS file: /cvs/ports/infrastructure/templates/Makefile.template,v
retrieving revision 1.78
diff -u -p -w -r1.78 Makefile.template
--- Makefile.template   9 Jul 2018 15:00:06 -0000       1.78
+++ Makefile.template   3 Mar 2019 14:11:18 -0000
@@ -12,7 +12,7 @@
 #BROKEN =              reason
 
 #
-# Very short description of the package, 60 chars max
+# Very short description of the package (<=60 chars, usually starts lower-case)
 #              |----------------------------------------------------------|
 COMMENT =      ???
 # COMMENT-foo =        ???     for multi packages
@@ -126,12 +126,15 @@ MASTER_SITES =            ???
 #        Module::Build Build.PL)
 #        gnu [autoconf] [old] [dest]: gnu style configure (old: no
 #        sysconfdir), (dest: add DESTDIR, does not handle it),
-#        (autoconf: needed by port, implies gnu)
+#        autoconf: run autoconf to regenerate configure script. implies gnu.
+#                  (see also "do-gen" target below).
 #      XXX: cygnus products do NOT use autoconf for making the main
 #              configure from configure.in
 #        imake [noman]: port uses imake for configuration.
 #        (noman: no man page installation)
 #        simple: port has its own configure script
+#        none: override default CONFIGURE_STYLE coming from a module
+#              (needed for some ports using lang/python, etc.)
 #CONFIGURE_STYLE =     
 #CONFIGURE_SCRIPT =    ??? (if other than configure)
 #CONFIGURE_ARGS =      ???
@@ -194,5 +197,16 @@ MASTER_SITES =             ???
 #ALL_TARGET =          ???
 #INSTALL_TARGET =      ???
 #TEST_TARGET =         ???
+
+# For ports that use a script or autoreconf to generate autoconf/automake
+# files (where "CONFIGURE_STYLE=autconf" isn't enough), use some/all of these
+# dependencies, and add a do-gen target:
+# 
+#BUILD_DEPENDS =       ${MODGNU_AUTOCONF_DEPENDS} \
+#                      ${MODGNU_AUTOMAKE_DEPENDS} \
+#                      devel/libtool
+#
+#do-gen:
+#        cd ${WRKSRC}; ${AUTOCONF_ENV} ./autogen.sh
 
 .include <bsd.port.mk>

Reply via email to