diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-11-18 04:08:05 +0800 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-11-18 04:08:05 +0800 |
commit | 2f28d718b7bbfbe6837de90862df1e0ad85c0744 (patch) | |
tree | 070d5bb409870502783f2a9f08f4ebd631cad7c5 /Mk | |
parent | 38d33ba583f890e505e3a03d025c6263e2035df6 (diff) | |
download | freebsd-ports-gnome-2f28d718b7bbfbe6837de90862df1e0ad85c0744.tar.gz freebsd-ports-gnome-2f28d718b7bbfbe6837de90862df1e0ad85c0744.tar.zst freebsd-ports-gnome-2f28d718b7bbfbe6837de90862df1e0ad85c0744.zip |
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
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 3 |
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 |