aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-07 23:42:30 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-07 23:42:30 +0800
commitf9cddc6a018126f078b3d698ef537ba121b33a74 (patch)
tree47a512e47c0e4705bfd109b06e9c3381e7b7f1b6 /x11-fonts
parent4ab4195cc997801b9b7e5c7068e061debb81427e (diff)
downloadfreebsd-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/Makefile18
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>