head 1.28; access; symbols pkgsrc-2023Q4:1.28.0.6 pkgsrc-2023Q4-base:1.28 pkgsrc-2023Q3:1.28.0.4 pkgsrc-2023Q3-base:1.28 pkgsrc-2023Q2:1.28.0.2 pkgsrc-2023Q2-base:1.28 pkgsrc-2023Q1:1.27.0.24 pkgsrc-2023Q1-base:1.27 pkgsrc-2022Q4:1.27.0.22 pkgsrc-2022Q4-base:1.27 pkgsrc-2022Q3:1.27.0.20 pkgsrc-2022Q3-base:1.27 pkgsrc-2022Q2:1.27.0.18 pkgsrc-2022Q2-base:1.27 pkgsrc-2022Q1:1.27.0.16 pkgsrc-2022Q1-base:1.27 pkgsrc-2021Q4:1.27.0.14 pkgsrc-2021Q4-base:1.27 pkgsrc-2021Q3:1.27.0.12 pkgsrc-2021Q3-base:1.27 pkgsrc-2021Q2:1.27.0.10 pkgsrc-2021Q2-base:1.27 pkgsrc-2021Q1:1.27.0.8 pkgsrc-2021Q1-base:1.27 pkgsrc-2020Q4:1.27.0.6 pkgsrc-2020Q4-base:1.27 pkgsrc-2020Q3:1.27.0.4 pkgsrc-2020Q3-base:1.27 pkgsrc-2020Q2:1.27.0.2 pkgsrc-2020Q2-base:1.27 pkgsrc-2020Q1:1.25.0.14 pkgsrc-2020Q1-base:1.25 pkgsrc-2019Q4:1.25.0.16 pkgsrc-2019Q4-base:1.25 pkgsrc-2019Q3:1.25.0.12 pkgsrc-2019Q3-base:1.25 pkgsrc-2019Q2:1.25.0.10 pkgsrc-2019Q2-base:1.25 pkgsrc-2019Q1:1.25.0.8 pkgsrc-2019Q1-base:1.25 pkgsrc-2018Q4:1.25.0.6 pkgsrc-2018Q4-base:1.25 pkgsrc-2018Q3:1.25.0.4 pkgsrc-2018Q3-base:1.25 pkgsrc-2018Q2:1.25.0.2 pkgsrc-2018Q2-base:1.25 pkgsrc-2018Q1:1.24.0.20 pkgsrc-2018Q1-base:1.24 pkgsrc-2017Q4:1.24.0.18 pkgsrc-2017Q4-base:1.24 pkgsrc-2017Q3:1.24.0.16 pkgsrc-2017Q3-base:1.24 pkgsrc-2017Q2:1.24.0.12 pkgsrc-2017Q2-base:1.24 pkgsrc-2017Q1:1.24.0.10 pkgsrc-2017Q1-base:1.24 pkgsrc-2016Q4:1.24.0.8 pkgsrc-2016Q4-base:1.24 pkgsrc-2016Q3:1.24.0.6 pkgsrc-2016Q3-base:1.24 pkgsrc-2016Q2:1.24.0.4 pkgsrc-2016Q2-base:1.24 pkgsrc-2016Q1:1.24.0.2 pkgsrc-2016Q1-base:1.24 pkgsrc-2015Q4:1.23.0.10 pkgsrc-2015Q4-base:1.23 pkgsrc-2015Q3:1.23.0.8 pkgsrc-2015Q3-base:1.23 pkgsrc-2015Q2:1.23.0.6 pkgsrc-2015Q2-base:1.23 pkgsrc-2015Q1:1.23.0.4 pkgsrc-2015Q1-base:1.23 pkgsrc-2014Q4:1.23.0.2 pkgsrc-2014Q4-base:1.23 pkgsrc-2014Q3:1.21.0.18 pkgsrc-2014Q3-base:1.21 pkgsrc-2014Q2:1.21.0.16 pkgsrc-2014Q2-base:1.21 pkgsrc-2014Q1:1.21.0.14 pkgsrc-2014Q1-base:1.21 pkgsrc-2013Q4:1.21.0.12 pkgsrc-2013Q4-base:1.21 pkgsrc-2013Q3:1.21.0.10 pkgsrc-2013Q3-base:1.21 pkgsrc-2013Q2:1.21.0.8 pkgsrc-2013Q2-base:1.21 pkgsrc-2013Q1:1.21.0.6 pkgsrc-2013Q1-base:1.21 pkgsrc-2012Q4:1.21.0.4 pkgsrc-2012Q4-base:1.21 pkgsrc-2012Q3:1.21.0.2 pkgsrc-2012Q3-base:1.21 pkgsrc-2012Q2:1.19.0.22 pkgsrc-2012Q2-base:1.19 pkgsrc-2012Q1:1.19.0.20 pkgsrc-2012Q1-base:1.19 pkgsrc-2011Q4:1.19.0.18 pkgsrc-2011Q4-base:1.19 pkgsrc-2011Q3:1.19.0.16 pkgsrc-2011Q3-base:1.19 pkgsrc-2011Q2:1.19.0.14 pkgsrc-2011Q2-base:1.19 pkgsrc-2011Q1:1.19.0.12 pkgsrc-2011Q1-base:1.19 pkgsrc-2010Q4:1.19.0.10 pkgsrc-2010Q4-base:1.19 pkgsrc-2010Q3:1.19.0.8 pkgsrc-2010Q3-base:1.19 pkgsrc-2010Q2:1.19.0.6 pkgsrc-2010Q2-base:1.19 pkgsrc-2010Q1:1.19.0.4 pkgsrc-2010Q1-base:1.19 pkgsrc-2009Q4:1.19.0.2 pkgsrc-2009Q4-base:1.19 pkgsrc-2009Q3:1.18.0.4 pkgsrc-2009Q3-base:1.18 pkgsrc-2009Q2:1.18.0.2 pkgsrc-2009Q2-base:1.18 pkgsrc-2009Q1:1.17.0.12 pkgsrc-2009Q1-base:1.17 pkgsrc-2008Q4:1.17.0.10 pkgsrc-2008Q4-base:1.17 pkgsrc-2008Q3:1.17.0.8 pkgsrc-2008Q3-base:1.17 cube-native-xorg:1.17.0.6 cube-native-xorg-base:1.17 pkgsrc-2008Q2:1.17.0.4 pkgsrc-2008Q2-base:1.17 cwrapper:1.17.0.2 pkgsrc-2008Q1:1.16.0.2 pkgsrc-2008Q1-base:1.16 pkgsrc-2007Q4:1.15.0.8 pkgsrc-2007Q4-base:1.15 pkgsrc-2007Q3:1.15.0.6 pkgsrc-2007Q3-base:1.15 pkgsrc-2007Q2:1.15.0.4 pkgsrc-2007Q2-base:1.15 pkgsrc-2007Q1:1.15.0.2 pkgsrc-2007Q1-base:1.15 pkgsrc-2006Q4:1.14.0.4 pkgsrc-2006Q4-base:1.14 pkgsrc-2006Q3:1.14.0.2 pkgsrc-2006Q3-base:1.14 pkgsrc-2006Q2:1.13.0.2 pkgsrc-2006Q2-base:1.13 pkgsrc-2006Q1:1.12.0.2 pkgsrc-2006Q1-base:1.12 pkgsrc-2005Q4:1.11.0.4 pkgsrc-2005Q4-base:1.11 pkgsrc-2005Q3:1.11.0.2 pkgsrc-2005Q3-base:1.11 pkgsrc-2005Q2:1.9.0.2 pkgsrc-2005Q2-base:1.9 pkgsrc-2005Q1:1.8.0.2 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.7.0.2 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.6.0.4 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.2 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.5.0.2 pkgsrc-2004Q1-base:1.5; locks; strict; comment @# @; 1.28 date 2023.06.06.12.41.17; author riastradh; state Exp; branches; next 1.27; commitid xhspr6Z8JLQOWSrE; 1.27 date 2020.05.31.21.22.47; author rillig; state Exp; branches; next 1.26; commitid L7owlnWRwt9IeraC; 1.26 date 2020.05.31.21.18.14; author rillig; state Exp; branches; next 1.25; commitid 4Sa1oiKkWGZ7draC; 1.25 date 2018.05.21.18.35.22; author wiz; state Exp; branches; next 1.24; commitid YnlGPRIEbMQ18cDA; 1.24 date 2016.01.29.23.10.18; author rillig; state Exp; branches; next 1.23; commitid niTDzMdFevk6KSSy; 1.23 date 2014.10.09.14.06.32; author wiz; state Exp; branches; next 1.22; commitid fBDATFVmQ3454xTx; 1.22 date 2014.10.09.13.44.46; author wiz; state Exp; branches; next 1.21; commitid UvzBSm5hrFIOWwTx; 1.21 date 2012.09.30.09.10.36; author asau; state Exp; branches; next 1.20; 1.20 date 2012.09.06.11.06.58; author is; state Exp; branches; next 1.19; 1.19 date 2010.01.10.16.32.03; author wiz; state Exp; branches; next 1.18; 1.18 date 2009.05.18.17.09.43; author agc; state Exp; branches; next 1.17; 1.17 date 2008.05.29.08.34.26; author abs; state Exp; branches; next 1.16; 1.16 date 2008.01.04.19.53.36; author heinz; state Exp; branches; next 1.15; 1.15 date 2007.01.09.21.14.21; author gdt; state Exp; branches; next 1.14; 1.14 date 2006.07.27.15.16.44; author jlam; state Exp; branches; next 1.13; 1.13 date 2006.04.09.01.14.52; author jlam; state Exp; branches; next 1.12; 1.12 date 2006.03.04.21.29.30; author jlam; state Exp; branches; next 1.11; 1.11 date 2005.07.27.10.02.17; author wiz; state Exp; branches; next 1.10; 1.10 date 2005.07.16.01.19.09; author jlam; state Exp; branches; next 1.9; 1.9 date 2005.04.11.21.45.39; author tv; state Exp; branches; next 1.8; 1.8 date 2005.02.12.11.05.05; author rillig; state Exp; branches; next 1.7; 1.7 date 2004.11.11.06.05.55; author minskim; state Exp; branches; next 1.6; 1.6 date 2004.05.14.18.58.26; author wiz; state Exp; branches; next 1.5; 1.5 date 2004.02.22.15.57.32; author jmmv; state Exp; branches; next 1.4; 1.4 date 2004.02.15.14.09.25; author jlam; state Exp; branches; next 1.3; 1.3 date 2004.01.21.10.48.21; author agc; state Exp; branches; next 1.2; 1.2 date 2004.01.21.10.33.16; author agc; state Exp; branches; next 1.1; 1.1 date 2004.01.20.12.04.49; author agc; state Exp; branches; next ; desc @@ 1.28 log @Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html @ text @# $NetBSD: Makefile-example,v 1.27 2020/05/31 21:22:47 rillig Exp $ # First paragraph - distfile and binary package data # DISTNAME PKGNAME PKGREVISION CATEGORIES MASTER_SITES # MASTER_SITE_SUBDIR EXTRACT_SUFX DISTFILES DISTNAME= make-3.80 PKGNAME= gmake-3.80 # only to be added if the package name is different from DISTNAME #PKGREVISION= 2 # should be added/incremented for user-visible changes CATEGORIES= devel gnu # multiple categories are allowed MASTER_SITES= ${MASTER_SITE_GNU:=make/} #EXTRACT_SUFX= .tar.bz2 # .tar.gz is the default, only needed in unusual circumstances # Second paragraph - MAINTAINER/OWNER, HOMEPAGE and COMMENT, and LICENSE MAINTAINER= pkgsrc-users@@NetBSD.org # set this to your email address, pkgsrc-users@@ is the default HOMEPAGE= http://www.gnu.org/software/make/make.html COMMENT= GNU version of 'make' utility # start with a capital, no articles at start LICENSE= hptools-license # Licenses should be added to the pkgsrc/licenses directory. # Paragraph for any build or run dependencies -- not libraries, # those should be handled using buildlink3.mk files. # Not needed for gmake, just an example: # TOOL_DEPENDS+= automoc4-[0-9]*:../../devel/automoc4 # Set RESTRICTED to a very short explanation (typically "No permission to # redistribute for a fee."). NO_*_ON_* may only be set to ${RESTRICTED}. RESTRICTED= Redistribution of unmodified source only; resale prohibited. NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} # if the package has to be created with root privileges #PKG_DESTDIR_SUPPORT= destdir # if the package has to be installed directly #PKG_DESTDIR_SUPPORT= none # Sixth paragraph - all build definitions that describe things used by # the package. These include: WRKSRC, GNU_CONFIGURE, # HAS_CONFIGURE, USE_PKGLOCALEDIR, USE_INSTALL, TEXINFO_REQD, USE_JAVA, # INFO_FILES, DIST_SUBDIR, etc. DIST_SUBDIR= gmake GNU_CONFIGURE= yes INFO_FILES= # defined if the package installs info files TEXINFO_REQD= 4.0 # version of texinfo which is necessary USE_PKGLOCALEDIR= yes WRKSRC= ${WRKDIR}/src # Seventh paragraph - file overrides; these are all *_OVERRIDE variables LIBTOOL_OVERRIDE+= build/unix/tools/libtool PKGCONFIG_OVERRIDE+= glib-2.0.pc.in # Eighth paragraph - modification of configure and make environments CONFIGURE_ARGS+= --disable-gtk-doc CONFIGURE_ENV+= ac_cv_path_PYTHON="${PYTHONBIN}" MAKE_ENV+= PKG_SYSCONFDIR="${PKG_SYSCONFDIR}" # Ninth paragraph - different targets # BUILD_TARGET, INSTALL_TARGET, TEST_TARGET TEST_TARGET= check # always include bsd.prefs.mk before any .if or .ifdef statements .include "../../mk/bsd.prefs.mk" .if defined(GNU_PROGRAM_PREFIX) # indent nested "if" by 2 spaces please . if ${GNU_PROGRAM_PREFIX} == "g" CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX} . endif .endif PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX} BUILD_DEFS+= GNU_PROGRAM_PREFIX # Makefile targets should occur after all the other definitions in the file post-install: ${CHMOD} g-s ${DESTDIR}${PREFIX}/bin/${GNU_PROGRAM_PREFIX}make ${CHGRP} ${BINGRP} ${DESTDIR}${PREFIX}/bin/${GNU_PROGRAM_PREFIX}make .if !defined(GNU_PROGRAM_PREFIX) || ${GNU_PROGRAM_PREFIX} != "g" # Solaris's "ln -fs" is not the same as on *BSD - use an explicit rm(1) instead ${RM} -f ${DESTDIR}${PREFIX}/bin/gmake ${LN} -s ${GNU_PROGRAM_PREFIX}make ${DESTDIR}${PREFIX}/bin/gmake .endif # buildlink3 files should come after all variables have been set, # sorted alphabetically. .include "../../devel/gettext-lib/buildlink3.mk" # Files from mk/ should be after other buildlink3 files have been included. .include "../../mk/pthread.buildlink3.mk" # Finally, please include bsd.pkg.mk .include "../../mk/bsd.pkg.mk" @ 1.27 log @doc/Makefile-example: unquote RESTRICTED, fix post-install @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.26 2020/05/31 21:18:14 rillig Exp $ d22 1 a22 1 # BUILD_DEPENDS+= automoc4-[0-9]*:../../devel/automoc4 @ 1.26 log @doc/Makefile-example: remove reference to obsolete LICENCE variable @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.25 2018/05/21 18:35:22 wiz Exp $ d26 1 a26 1 RESTRICTED= "Redistribution of unmodified source only; resale prohibited." d74 2 a75 2 ${CHMOD} g-s ${PREFIX}/bin/${GNU_PROGRAM_PREFIX}make ${CHGRP} ${BINGRP} ${PREFIX}/bin/${GNU_PROGRAM_PREFIX}make d78 2 a79 2 ${RM} -f ${PREFIX}/bin/gmake ${LN} -s ${GNU_PROGRAM_PREFIX}make ${PREFIX}/bin/gmake @ 1.25 log @doc/Makefile-example: reorder targets buildlink3.mk file inclusions come last. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.24 2016/01/29 23:10:18 rillig Exp $ d13 1 a13 1 # Second paragraph - MAINTAINER/OWNER, HOMEPAGE and COMMENT, and LICEN[CS]E @ 1.24 log @Fixed typo @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.23 2014/10/09 14:06:32 wiz Exp $ a71 11 # buildlink3 files should come after all variables have been set, # sorted alphabetically. .include "../../devel/gettext-lib/buildlink3.mk" # The section that handles pthreads should come after all other buildlink3 # files have been included. .include "../../mk/pthread.buildlink3.mk" .if ${PTHREAD_TYPE} == "none" CONFIGURE_ARGS+= --disable-threads .endif d82 7 @ 1.23 log @Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.22 2014/10/09 13:44:46 wiz Exp $ d19 1 a19 1 # Parapraph for any build or run dependencies -- not libraries, @ 1.22 log @Remove SVR4_PKGNAME, per discussion on tech-pkg. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.21 2012/09/30 09:10:36 asau Exp $ a30 2 # Fifth paragraph - PKG_INSTALLATION_TYPES PKG_INSTALLATION_TYPES= overwrite pkgviews # needed for package views-ready packages @ 1.21 log @"user-destdir" was made default, adjust example correspondingly. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.20 2012/09/06 11:06:58 is Exp $ d4 1 a4 1 # DISTNAME PKGNAME PKGREVISION SVR4_PKGNAME CATEGORIES MASTER_SITES @ 1.20 log @orthography @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.19 2010/01/10 16:32:03 wiz Exp $ d33 4 a36 2 # if the package can be created without root privileges PKG_DESTDIR_SUPPORT= user-destdir @ 1.19 log @Document {BUILD_,}DEPENDS section. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.18 2009/05/18 17:09:43 agc Exp $ d17 1 a17 1 LICENSE= hptools-license # Licences should be added to the pkgsrc/licenses directory. @ 1.18 log @Standardise on location for licensing information (in second paragraph, with HOMEPAGE). @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.17 2008/05/29 08:34:26 abs Exp $ d19 5 d31 1 a31 1 # Fourth paragraph - PKG_INSTALLATION_TYPES d36 1 a36 1 # Fifth paragraph - all build definitions that describe things used by d47 1 a47 1 # Sixth paragraph - file overrides; these are all *_OVERRIDE variables d51 1 a51 1 # Seventh paragraph - modification of configure and make environments d56 1 a56 1 # Eighth paragraph - different targets @ 1.17 log @Document OWNER @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.16 2008/01/04 19:53:36 heinz Exp $ d13 1 a13 1 # Second paragraph - MAINTAINER/OWNER, HOMEPAGE and COMMENT d17 1 a18 3 # Third paragraph - licensing information # Licences should be added to the pkgsrc/licenses directory. LICENSE= hptools-license @ 1.16 log @Where to place PKG_DESTDIR_SUPPORT. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.15 2007/01/09 21:14:21 gdt Exp $ d13 1 a13 1 # Second paragraph - MAINTAINER, HOMEPAGE and COMMENT @ 1.15 log @Change LICENSE= to be the first item in the licensing paragraph. Adjust wording. conceptually ok'd by wiz@@ agc@@ @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.14 2006/07/27 15:16:44 jlam Exp $ d30 2 @ 1.14 log @Apply the "convention over configuration" principle: If ${FILESDIR}/getsite.sh exists, then use it to determine the fetch URL for each of the distfiles for the package. Otherwise, use SITE_ and MASTER_SITES, in order, to determine the URL for each distfile. If the script path differs from ${FILESDIR}/getsite.sh, then set DYNAMIC_SITE_SCRIPT to the full path to that script. Remove the need to set DYNAMIC_MASTER_SITES explicitly in the package Makefile for: graphics/ns-cult3d wm/sawfish-themes www/apache-tomcat55 www/jakarta-tomcat4 www/jakarta-tomcat5 @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.13 2006/04/09 01:14:52 jlam Exp $ d19 4 a22 2 # Please set RESTRICTED to the relevant reason, and use it to define NO_{SRC,BIN}_ON_{FTP,CDROM} # Any specific licence should be added to the pkgsrc/licenses directory a26 1 LICENSE= hptools-license @ 1.13 log @Update to reflect current usage of INFO_FILES, which should just be defined or not defined. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.12 2006/03/04 21:29:30 jlam Exp $ d5 1 a5 1 # DYNAMIC_MASTER_SITES MASTER_SITE_SUBDIR EXTRACT_SUFX DISTFILES @ 1.12 log @Point MAINTAINER to pkgsrc-users@@NetBSD.org in the case where no developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.11 2005/07/27 10:02:17 wiz Exp $ d36 1 a36 1 INFO_FILES= make.info # any info files, whitespace delimited @ 1.11 log @No more buildlink2. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.10 2005/07/16 01:19:09 jlam Exp $ d14 1 a14 1 MAINTAINER= tech-pkg@@NetBSD.org # set this to your email address, tech-pkg@@ is the default @ 1.10 log @Get rid of USE_PERL5. The new way to express needing the Perl executable around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.9 2005/04/11 21:45:39 tv Exp $ d70 1 a70 1 # The section that handles pthreads should come after all other buildlink[23] @ 1.9 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.8 2005/02/12 11:05:05 rillig Exp $ d33 1 a33 1 # USE_PERL5, INFO_FILES, DIST_SUBDIR, etc. @ 1.8 log @Replaced the deprecated ALL_TARGET variable in the example Makefile with BUILD_TARGET, which had replaced ALL_TARGET in Dec 2004. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.7 2004/11/11 06:05:55 minskim Exp $ d31 1 a31 1 # the package. These include: WRKSRC, USE_BUILDLINK3, GNU_CONFIGURE, a37 1 USE_BUILDLINK3= yes @ 1.7 log @Remove reference to buildlink2. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.6 2004/05/14 18:58:26 wiz Exp $ d52 1 a52 1 # ALL_TARGET, INSTALL_TARGET, TEST_TARGET @ 1.6 log @Do not mention buildlink2, it is leaving. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.5 2004/02/22 15:57:32 jmmv Exp $ d67 1 a67 1 # buildlink[23] files should come after all variables have been set, @ 1.5 log @Sync with reality: add a paragraph for *_OVERRIDE variables and another one for configure and make args/environment. Ok'ed by agc@@. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.4 2004/02/15 14:09:25 jlam Exp $ d31 3 a33 3 # the package. These include: WRKSRC, USE_BUILDLINK2, USE_BUILDLINK3, # GNU_CONFIGURE, HAS_CONFIGURE, USE_PKGLOCALEDIR, USE_INSTALL, TEXINFO_REQD, # USE_JAVA, USE_PERL5, INFO_FILES, DIST_SUBDIR, etc. @ 1.4 log @Move the inclusion of buildlink files ahead of the target definitions. This makes all of the buildlink files come after any variable definitions that could affect their behaviour, and makes all of the target definitions come after all of the variables and .ifdef logic. This matches the way that many of the large, complex packages are already written. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.3 2004/01/21 10:48:21 agc Exp $ d30 4 a33 5 # Fifth paragraph - all build definitions # WRKSRC, USE_BUILDLINK2, USE_BUILDLINK3, GNU_CONFIGURE, HAS_CONFIGURE, # USE_PKGLOCALEDIR, USE_INSTALL, TEXINFO_REQD, USE_JAVA, USE_PERL5 # INFO_FILES, DIST_SUBDIR, CONFIGURE_ENV, CONFIGURE_ARGS, MAKE_ENV # etc d42 10 a51 1 # Sixth paragraph - different targets @ 1.3 log @Flesh out this file with more information, such as licensing information. Make it clearer why certain things should be done. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.2 2004/01/21 10:33:16 agc Exp $ d59 11 a79 4 # buildlink2 and buildlink3 files should come at the end of the file, # sorted alphabetically .include "../../devel/gettext-lib/buildlink3.mk" @ 1.2 log @Fix typo - thanks to wiz for pointing it out. @ text @d1 1 a1 1 # $NetBSD: Makefile-example,v 1.1 2004/01/20 12:04:49 agc Exp $ d9 1 a9 1 CATEGORIES= devel # multiple categories are allowed d18 10 a27 1 # Third paragraph - PKG_INSTALLATION_TYPES d30 1 a30 1 # Fourth paragraph - all build definitions d35 6 a41 6 USE_BUILDLINK3= YES GNU_CONFIGURE= YES USE_PKGLOCALEDIR= YES TEXINFO_REQD= 4.0 INFO_FILES= make.info DIST_SUBDIR= gmake d43 1 a43 1 # Fifth paragraph - different targets d51 2 d54 1 a58 6 .if !defined(GNU_PROGRAM_PREFIX) || ${GNU_PROGRAM_PREFIX} != "g" PLIST_SUBST+= GMAKE_LINK="" .else PLIST_SUBST+= GMAKE_LINK="@@comment " .endif d64 3 a66 1 ${LN} -sf ${GNU_PROGRAM_PREFIX}make ${PREFIX}/bin/gmake @ 1.1 log @Add an example Makefile, with annotated paragraphs and fields. @ text @d1 1 a1 1 # $NetBSD$ d16 1 a16 1 COMMENT= GNU version of 'make' utility # start with a capital, no articales at start @