aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/charis-compact
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-07 23:44:06 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-07 23:44:06 +0800
commit4962d6d248da91134866cb3e055b79ccc637d929 (patch)
treedbeece0b92c85936950110ee55f7183edf909206 /x11-fonts/charis-compact
parentf9cddc6a018126f078b3d698ef537ba121b33a74 (diff)
downloadfreebsd-ports-gnome-4962d6d248da91134866cb3e055b79ccc637d929.tar.gz
freebsd-ports-gnome-4962d6d248da91134866cb3e055b79ccc637d929.tar.zst
freebsd-ports-gnome-4962d6d248da91134866cb3e055b79ccc637d929.zip
Support staging.
Diffstat (limited to 'x11-fonts/charis-compact')
-rw-r--r--x11-fonts/charis-compact/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/x11-fonts/charis-compact/Makefile b/x11-fonts/charis-compact/Makefile
index 0b4560883dcd..23abe901169c 100644
--- a/x11-fonts/charis-compact/Makefile
+++ b/x11-fonts/charis-compact/Makefile
@@ -29,12 +29,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 feat_set_tuned.xml
-.endif
SUB_LIST= DIR="${FONTROOTDIR}/${FONTDIR}"
SUB_FILES= pkg-message
@@ -43,14 +42,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>