aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-07-09 22:23:26 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-07-09 22:23:26 +0000
commit9f9a41c8c32efad9c87a7f7f5cf7da4a2e0747ed (patch)
tree65bde780a3326e3602775011812d716a45e96691 /Mk/bsd.port.mk
parent3591b6098950dcff27383e097a957bdef79b4d67 (diff)
downloadports-9f9a41c8c32efad9c87a7f7f5cf7da4a2e0747ed.tar.gz
ports-9f9a41c8c32efad9c87a7f7f5cf7da4a2e0747ed.zip
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 4644673800c3..b13d199e0c73 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -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
################################################################