Define EXAMPLESDIR as well as DOCSDIR and DATADIR. Of course this
does not clobber the existing definitions because of the `?=' assignment. Grepping the whole ports tree, a few dozen ports already define this variable on their own and most of them have the same value as this (${PREFIX}/share/examples/${PORTNAME}). Approved but not committed by: portmgr
This commit is contained in:
parent
38d33ba583
commit
2f28d718b7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50156
@ -440,6 +440,8 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
|
||||
# ${LOCALBASE} and %%X11BASE%% for ${X11BASE}.
|
||||
# DOCSDIR - Name of the directory to install the packages docs in
|
||||
# (default: ${PREFIX}/share/doc/${PORTNAME}).
|
||||
# EXAMPLESDIR - Name of the directory to install the packages examples in
|
||||
# (default: ${PREFIX}/share/examples/${PORTNAME}).
|
||||
# DATADIR - Name of the directory to install the packages shared data
|
||||
# in (default: ${PREFIX}/share/${PORTNAME}).
|
||||
#
|
||||
@ -1397,6 +1399,7 @@ LDCONFIG_RUNLIST!= ${ECHO} ${LDCONFIG_PLIST} | ${SED} -e "s!%D!${PREFIX}!g"
|
||||
.endif
|
||||
|
||||
DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME}
|
||||
EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME}
|
||||
DATADIR?= ${PREFIX}/share/${PORTNAME}
|
||||
|
||||
.MAIN: all
|
||||
|
Loading…
Reference in New Issue
Block a user