summaryrefslogtreecommitdiff
path: root/doc/Makefile-example
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-01-10 16:32:03 +0000
committerwiz <wiz@pkgsrc.org>2010-01-10 16:32:03 +0000
commit15b6134f5ac932a982e2366731bbafc0ac7e08b5 (patch)
treec09b376d9d6193fd5ecded6bfdefd98c6b275d30 /doc/Makefile-example
parent8524478e8aa58cfe738b63e2359232f44e03a9fd (diff)
downloadpkgsrc-15b6134f5ac932a982e2366731bbafc0ac7e08b5.tar.gz
Document {BUILD_,}DEPENDS section.
Diffstat (limited to 'doc/Makefile-example')
-rw-r--r--doc/Makefile-example17
1 files changed, 11 insertions, 6 deletions
diff --git a/doc/Makefile-example b/doc/Makefile-example
index d70629a047f..2c2b91cea1d 100644
--- a/doc/Makefile-example
+++ b/doc/Makefile-example
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile-example,v 1.18 2009/05/18 17:09:43 agc Exp $
+# $NetBSD: Makefile-example,v 1.19 2010/01/10 16:32:03 wiz Exp $
# First paragraph - distfile and binary package data
# DISTNAME PKGNAME PKGREVISION SVR4_PKGNAME CATEGORIES MASTER_SITES
@@ -16,6 +16,11 @@ 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 # Licences should be added to the pkgsrc/licenses directory.
+# Parapraph for any build or run dependencies -- not libraries,
+# those should be handled using buildlink3.mk files.
+# Not needed for gmake, just an example:
+# BUILD_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."
@@ -23,12 +28,12 @@ NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
-# Fourth paragraph - PKG_INSTALLATION_TYPES
+# Fifth paragraph - PKG_INSTALLATION_TYPES
PKG_INSTALLATION_TYPES= overwrite pkgviews # needed for package views-ready packages
# if the package can be created without root privileges
PKG_DESTDIR_SUPPORT= user-destdir
-# Fifth paragraph - all build definitions that describe things used by
+# 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.
@@ -39,16 +44,16 @@ TEXINFO_REQD= 4.0 # version of texinfo which is necessary
USE_PKGLOCALEDIR= yes
WRKSRC= ${WRKDIR}/src
-# Sixth paragraph - file overrides; these are all *_OVERRIDE variables
+# Seventh paragraph - file overrides; these are all *_OVERRIDE variables
LIBTOOL_OVERRIDE+= build/unix/tools/libtool
PKGCONFIG_OVERRIDE+= glib-2.0.pc.in
-# Seventh paragraph - modification of configure and make environments
+# 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}"
-# Eighth paragraph - different targets
+# Ninth paragraph - different targets
# BUILD_TARGET, INSTALL_TARGET, TEST_TARGET
TEST_TARGET= check