summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-11-17 20:08:05 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-11-17 20:08:05 +0000
commit2f28d718b7bbfbe6837de90862df1e0ad85c0744 (patch)
tree070d5bb409870502783f2a9f08f4ebd631cad7c5 /Mk
parentFix PKG_IGNORE_DEPENDS so it matches the latest XFree86 3.x port. (diff)
Define EXAMPLESDIR as well as DOCSDIR and DATADIR. Of course this
does not clobber the existing definitions because of the `?=' assignment. Grepping the whole ports tree, a few dozen ports already define this variable on their own and most of them have the same value as this (${PREFIX}/share/examples/${PORTNAME}). Approved but not committed by: portmgr
Notes
Notes: svn path=/head/; revision=50156
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 34f8ce26aaf2..79af2a580562 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -440,6 +440,8 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# ${LOCALBASE} and %%X11BASE%% for ${X11BASE}.
# DOCSDIR - Name of the directory to install the packages docs in
# (default: ${PREFIX}/share/doc/${PORTNAME}).
+# EXAMPLESDIR - Name of the directory to install the packages examples in
+# (default: ${PREFIX}/share/examples/${PORTNAME}).
# DATADIR - Name of the directory to install the packages shared data
# in (default: ${PREFIX}/share/${PORTNAME}).
#
@@ -1397,6 +1399,7 @@ LDCONFIG_RUNLIST!= ${ECHO} ${LDCONFIG_PLIST} | ${SED} -e "s!%D!${PREFIX}!g"
.endif
DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME}
+EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME}
DATADIR?= ${PREFIX}/share/${PORTNAME}
.MAIN: all