Document {BUILD_,}DEPENDS section.
This commit is contained in:
parent
8524478e8a
commit
15b6134f5a
1 changed files with 11 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue