diff options
author | knu <knu@FreeBSD.org> | 2001-11-18 04:08:05 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-11-18 04:08:05 +0800 |
commit | aa7d7d730c1f47594d91bee3ae7a3d7cd0a0d609 (patch) | |
tree | 6a4b9694837f9f68fbb020a10ab17fd869b5f6b6 /Mk/bsd.port.mk | |
parent | 729b0a37122db0161448713c926b5d7613611e0e (diff) | |
download | freebsd-ports-gnome-aa7d7d730c1f47594d91bee3ae7a3d7cd0a0d609.tar.gz freebsd-ports-gnome-aa7d7d730c1f47594d91bee3ae7a3d7cd0a0d609.tar.zst freebsd-ports-gnome-aa7d7d730c1f47594d91bee3ae7a3d7cd0a0d609.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/bsd.port.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 |