diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index b13d199e0c73..aa3e80a7b5d8 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