diff options
author | obrien <obrien@FreeBSD.org> | 2001-07-10 06:23:26 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-07-10 06:23:26 +0800 |
commit | bfdfd934e22ca6764e0373aa3366b275fbea3adc (patch) | |
tree | 0f871b0c82d01b5764e05c1b8e11fc23a148530f /Mk | |
parent | 6912d656c0866676fe82b8fa84d8ed41011b39ef (diff) | |
download | freebsd-ports-gnome-bfdfd934e22ca6764e0373aa3366b275fbea3adc.tar.gz freebsd-ports-gnome-bfdfd934e22ca6764e0373aa3366b275fbea3adc.tar.zst freebsd-ports-gnome-bfdfd934e22ca6764e0373aa3366b275fbea3adc.zip |
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
Diffstat (limited to '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 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 ################################################################ |