aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-07 23:29:41 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-07 23:29:41 +0800
commit2c1e0cd948896ef71679f2769e10df6580621358 (patch)
tree361bc73415985a1a70c6abeaf2456213be355412 /x11-fonts
parenta304aa94b051d0cbc2d06d9defade85a0d126ed2 (diff)
downloadfreebsd-ports-gnome-2c1e0cd948896ef71679f2769e10df6580621358.tar.gz
freebsd-ports-gnome-2c1e0cd948896ef71679f2769e10df6580621358.tar.zst
freebsd-ports-gnome-2c1e0cd948896ef71679f2769e10df6580621358.zip
Support staging.
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/andika/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/x11-fonts/andika/Makefile b/x11-fonts/andika/Makefile
index 907f3d0a09c8..1c0f4b591e6b 100644
--- a/x11-fonts/andika/Makefile
+++ b/x11-fonts/andika/Makefile
@@ -28,21 +28,17 @@ SUB_FILES= pkg-message
DOCSLIST= FONTLOG.txt OFL-FAQ.txt README.txt
PORTDOCS= ${DOCSLIST:C,^.*/,,}
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-configure:
${DO_NADA}
do-install:
- ${ECHO_MSG}
- ${CAT} ${PKGMESSAGE}
- ${ECHO_MSG}
- ${MKDIR} ${FONTROOTDIR}/${FONTDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTROOTDIR}/${FONTDIR}
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${DOCSLIST:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${FONTROOTDIR}/${FONTDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTROOTDIR}/${FONTDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${DOCSLIST:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>