aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/charis-compact
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-07 15:44:06 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-07 15:44:06 +0000
commit3f6a19468cf36c3df9ad37069a2873172a683746 (patch)
treedbeece0b92c85936950110ee55f7183edf909206 /x11-fonts/charis-compact
parentca32f506bc084c52acbd110a9bef57c37729cbc0 (diff)
downloadports-3f6a19468cf36c3df9ad37069a2873172a683746.tar.gz
ports-3f6a19468cf36c3df9ad37069a2873172a683746.zip
Support staging.
Notes
Notes: svn path=/head/; revision=343269
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>