diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-07 23:42:30 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-07 23:42:30 +0800 |
commit | f9cddc6a018126f078b3d698ef537ba121b33a74 (patch) | |
tree | 47a512e47c0e4705bfd109b06e9c3381e7b7f1b6 /x11-fonts | |
parent | 4ab4195cc997801b9b7e5c7068e061debb81427e (diff) | |
download | freebsd-ports-gnome-f9cddc6a018126f078b3d698ef537ba121b33a74.tar.gz freebsd-ports-gnome-f9cddc6a018126f078b3d698ef537ba121b33a74.tar.zst freebsd-ports-gnome-f9cddc6a018126f078b3d698ef537ba121b33a74.zip |
Support staging.
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/charis/Makefile | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/x11-fonts/charis/Makefile b/x11-fonts/charis/Makefile index ab1cb3e4e34f..03b318cedbb9 100644 --- a/x11-fonts/charis/Makefile +++ b/x11-fonts/charis/Makefile @@ -26,12 +26,11 @@ USE_TGZ= yes #prevent bsd.xorg.mk from setting USE_BZIP PLIST_FILES+= ${FONTROOTDIR:S/${PREFIX}\///}/${FONTDIR}/${PORTNAME}-${type}.ttf .endfor -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MDOCS} PORTDOCS= FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt -.endif SUB_LIST= DIR="${FONTROOTDIR}/${FONTDIR}" SUB_FILES= pkg-message @@ -40,14 +39,9 @@ do-configure: @${DO_NADA} do-install: - @${MKDIR} ${FONTROOTDIR}/${FONTDIR} - @(cd ${WRKSRC} ; ${INSTALL_DATA} *.ttf ${FONTROOTDIR}/${FONTDIR}) -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) -.endif - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} + ${MKDIR} ${STAGEDIR}${FONTROOTDIR}/${FONTDIR} + (cd ${WRKSRC} ; ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTROOTDIR}/${FONTDIR}) + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> |