View | Details | Raw Unified | Return to bug 105529
Collapse All | Expand All

(-)bsd.port.mk (-2 / +7 lines)
Lines 916-921 Link Here
916
# DATADIR		- Name of the directory to install the packages shared data in.
916
# DATADIR		- Name of the directory to install the packages shared data in.
917
#				  Default: ${TARGETDIR}/share/${PORTNAME}
917
#				  Default: ${TARGETDIR}/share/${PORTNAME}
918
#
918
#
919
# WWWDIR		- Name of the directory to install the packages www data in.
920
#				  Default: ${TARGETDIR}/www/${PORTNAME}
921
#
919
# DESKTOPDIR	- Name of the directory to install ${DESKTOP_ENTRIES} in.
922
# DESKTOPDIR	- Name of the directory to install ${DESKTOP_ENTRIES} in.
920
#				  Default: ${TARGETDIR}/share/applications
923
#				  Default: ${TARGETDIR}/share/applications
921
# DESKTOP_ENTRIES
924
# DESKTOP_ENTRIES
Lines 1613-1619 Link Here
1613
		DESTDIR=${DESTDIR} TARGETDIR=${TARGETDIR}
1616
		DESTDIR=${DESTDIR} TARGETDIR=${TARGETDIR}
1614
SUB_LIST+=	PREFIX=${PREFIX} LOCALBASE=${LOCALBASE_REL} X11BASE=${X11BASE_REL} \
1617
SUB_LIST+=	PREFIX=${PREFIX} LOCALBASE=${LOCALBASE_REL} X11BASE=${X11BASE_REL} \
1615
		DATADIR=${DATADIR} DOCSDIR=${DOCSDIR} EXAMPLESDIR=${EXAMPLESDIR} \
1618
		DATADIR=${DATADIR} DOCSDIR=${DOCSDIR} EXAMPLESDIR=${EXAMPLESDIR} \
1616
		DESTDIR=${DESTDIR} TARGETDIR=${TARGETDIR}
1619
		WWWDIR=${WWWDIR} DESTDIR=${DESTDIR} TARGETDIR=${TARGETDIR}
1617
1620
1618
PLIST_REINPLACE+=	dirrmtry
1621
PLIST_REINPLACE+=	dirrmtry
1619
PLIST_REINPLACE_DIRRMTRY=s!^@dirrmtry \(.*\)!@unexec rmdir %D/\1 2>/dev/null || true!
1622
PLIST_REINPLACE_DIRRMTRY=s!^@dirrmtry \(.*\)!@unexec rmdir %D/\1 2>/dev/null || true!
Lines 2988-2997 Link Here
2988
DOCSDIR?=	${TARGETDIR}/share/doc/${PORTNAME}
2991
DOCSDIR?=	${TARGETDIR}/share/doc/${PORTNAME}
2989
EXAMPLESDIR?=	${TARGETDIR}/share/examples/${PORTNAME}
2992
EXAMPLESDIR?=	${TARGETDIR}/share/examples/${PORTNAME}
2990
DATADIR?=	${TARGETDIR}/share/${PORTNAME}
2993
DATADIR?=	${TARGETDIR}/share/${PORTNAME}
2994
WWWDIR?=	${TARGETDIR}/www/${PORTNAME}
2991
2995
2992
PLIST_SUB+=	DOCSDIR="${DOCSDIR:S,^${TARGETDIR}/,,}" \
2996
PLIST_SUB+=	DOCSDIR="${DOCSDIR:S,^${TARGETDIR}/,,}" \
2993
		EXAMPLESDIR="${EXAMPLESDIR:S,^${TARGETDIR}/,,}" \
2997
		EXAMPLESDIR="${EXAMPLESDIR:S,^${TARGETDIR}/,,}" \
2994
		DATADIR="${DATADIR:S,^${TARGETDIR}/,,}"
2998
		DATADIR="${DATADIR:S,^${TARGETDIR}/,,}" \
2999
		WWWDIR="${WWWDIR:S,^${TARGETDIR}/,,}"
2995
3000
2996
DESKTOPDIR?=		${TARGETDIR}/share/applications
3001
DESKTOPDIR?=		${TARGETDIR}/share/applications
2997
_DESKTOPDIR_REL=	${DESKTOPDIR:S,^${TARGETDIR}/,,}/
3002
_DESKTOPDIR_REL=	${DESKTOPDIR:S,^${TARGETDIR}/,,}/

Return to bug 105529