summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-07-10 07:50:17 +0000
committersobomax <sobomax@FreeBSD.org>2001-07-10 07:50:17 +0000
commit94335097bef8aeadc2fe4569f453a79255bf5627 (patch)
treeb132475496e34d12f0842a27a2e8e02566cb858a /Mk
parentd520c1fdc9ed27a26afc4175e2f91a6fccaaab9d (diff)
downloadFreeBSD-ports-94335097bef8aeadc2fe4569f453a79255bf5627.zip
FreeBSD-ports-94335097bef8aeadc2fe4569f453a79255bf5627.tar.gz
Similarly to DOCSDIR add DATADIR?=${PREFIX}/share/${PORTNAME}. Also slightly
expand comment for DOCSDIR, so it is immediately clear what its value is. Ignored by: obrien, portmgr
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index b13d199..aa3e80a 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -436,7 +436,10 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# apply here. It is recommended that you use
# %%PREFIX%% for ${PREFIX}, %%LOCALBASE%% for
# ${LOCALBASE} and %%X11BASE%% for ${X11BASE}.
-# DOCSDIR - Name of the directory to install the packages docs in.
+# DOCSDIR - Name of the directory to install the packages docs in
+# (default: ${PREFIX}/share/doc/${PORTNAME}).
+# DATADIR - Name of the directory to install the packages shared data
+# in (default: ${PREFIX}/share/${PORTNAME}).
#
# Note that the install target will automatically add manpages (see
# above) and also substitute special sequences of characters (delimited
@@ -1374,6 +1377,7 @@ LDCONFIG_RUNLIST!= ${ECHO} ${LDCONFIG_PLIST} | ${SED} -e "s!%D!${PREFIX}!"
.endif
DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME}
+DATADIR?= ${PREFIX}/share/${PORTNAME}
.MAIN: all
OpenPOWER on IntegriCloud