1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Add "DOCSDIR=${PREFIX}/share/doc/${PORTNAME}" so every port in the world

can stop duplicating this.  We can also add knobs in the future to
autmatically create the directory and what not.

Approved by:	portmgr
This commit is contained in:
David E. O'Brien 2001-07-09 22:23:26 +00:00
parent 3591b60989
commit 9f9a41c8c3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44978

View File

@ -436,6 +436,7 @@ 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.
#
# Note that the install target will automatically add manpages (see
# above) and also substitute special sequences of characters (delimited
@ -1372,6 +1373,8 @@ LDCONFIG_PLIST!= ${ECHO} ${LDCONFIG_DIRS} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s
LDCONFIG_RUNLIST!= ${ECHO} ${LDCONFIG_PLIST} | ${SED} -e "s!%D!${PREFIX}!"
.endif
DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME}
.MAIN: all
################################################################