1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

- Support staging

This commit is contained in:
Matthew Seaman 2013-09-26 21:37:32 +00:00
parent 7e0e4a2075
commit 8976272c37
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328417

View File

@ -19,7 +19,7 @@ USE_TGZ= yes
XORG_CAT= font
FONTLIBPATH= lib/X11/fonts
FONTROOTDIR= ${PREFIX}/${FONTLIBPATH}
FONTROOTDIR= ${STAGEDIR}${PREFIX}/${FONTLIBPATH}
INSTALLS_TTF= yes
MEDIA_ID= ${PORTNAME}_${PORTVERSION}_tar
NO_BUILD= yes
@ -34,13 +34,12 @@ PLIST_FILES= ${FONTLIBPATH}/${FONTDIR}/GenBasB.ttf \
${FONTLIBPATH}/${FONTDIR}/GenBkBasI.ttf \
${FONTLIBPATH}/${FONTDIR}/GenBkBasR.ttf
SUB_LIST= "FONTPATH=${FONTROOTDIR}/${FONTDIR}"
SUB_LIST= "FONTPATH=${PREFIX}/${FONTLIBPATH}/${FONTDIR}"
SUB_FILES= pkg-message
DOCSLIST= FONTLOG.txt GENTIUM-FAQ.txt OFL-FAQ.txt
PORTDOCS= ${DOCSLIST:C,^.*/,,}
NO_STAGE= yes
.include <bsd.port.options.mk>
.SILENT:
@ -49,9 +48,6 @@ do-configure:
@${DO_NADA}
do-install: install-fonts install-docs
${ECHO_MSG}
${CAT} ${PKGMESSAGE}
${ECHO_MSG}
install-fonts:
${MKDIR} ${FONTROOTDIR}/${FONTDIR}
@ -59,8 +55,8 @@ install-fonts:
install-docs:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOCSLIST:S,^,${WRKSRC}/,} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCSLIST:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>