This adds some comments to Makefile.template to explain some of these
options right where they are.
I also tweaked SHARED_LIBS to point out a version number is expected.
--Kurt
Index: Makefile.template
===================================================================
RCS file: /cvs/ports/infrastructure/templates/Makefile.template,v
retrieving revision 1.84
diff -u -p -r1.84 Makefile.template
--- Makefile.template 8 Aug 2019 23:04:22 -0000 1.84
+++ Makefile.template 6 Sep 2019 15:35:46 -0000
@@ -25,7 +25,9 @@ COMMENT = ???
#
# What port/package will be created
#
+# DISTNAME should not include suffix (like .tar.gz .tgz .tar.bz2 etc.)
DISTNAME = ???
+# PKGNAME defaults to DISTNAME unless changed
#PKGNAME = ???
#PKGNAME-foo = ??? for multi packages
@@ -45,12 +47,13 @@ DISTNAME = ???
# for any port that creates shared libraries.
# both libtool and cmake automatically set filenames based on this variable.
# for libtool- or cmake-based ports, have a look at WRKBUILD/shared_libs.log
-#SHARED_LIBS = ???
+#SHARED_LIBS = ??? 0.0
# the category used in the directory name, /usr/ports/<category>/portname,
# must be included and listed first.
CATEGORIES = ???
+# https preferred for HOMEPAGE
#HOMEPAGE = ??? URL
# person who is responsible for the port. Use a complete email address with
@@ -92,8 +95,11 @@ MASTER_SITES = ???
# ...
#DISTFILES = ???
#EXTRACT_ONLY = ???
+
+# Needs to be specified if tarball does not end with .tar.gz
#EXTRACT_SUFX = .tar.bz2
+# Optional subdirectory of DISTDIR where distfiles and patches will be placed
#DIST_SUBDIR = ???
# PATCHFILES are also retrieved from MASTER_SITES*
No comments:
Post a Comment