From 2f28d718b7bbfbe6837de90862df1e0ad85c0744 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sat, 17 Nov 2001 20:08:05 +0000 Subject: 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 --- Mk/bsd.port.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Mk') 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 -- cgit v1.2.3