aboutsummaryrefslogtreecommitdiff
path: root/chinese/fandol
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-02-27 09:01:46 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-02-27 09:01:46 +0000
commit2640ba40824390f14a76ae45f1d05dc274b6026e (patch)
treea3502c471c7e7b27dadfb891a25d2916436fb12e /chinese/fandol
parent1ccf19d898d00b7903021c5064b16ca75b894314 (diff)
downloadports-2640ba40824390f14a76ae45f1d05dc274b6026e.tar.gz
ports-2640ba40824390f14a76ae45f1d05dc274b6026e.zip
Notes
Diffstat (limited to 'chinese/fandol')
-rw-r--r--chinese/fandol/Makefile39
-rw-r--r--chinese/fandol/pkg-plist1
2 files changed, 12 insertions, 28 deletions
diff --git a/chinese/fandol/Makefile b/chinese/fandol/Makefile
index 1450024e066c..11ffda6f684c 100644
--- a/chinese/fandol/Makefile
+++ b/chinese/fandol/Makefile
@@ -11,42 +11,27 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= CTAN Fandol: Four GNU GPLv3-licensed Chinese OpenType fonts
LICENSE= GPLv3
+LICENSE_FILES= ${WRKSRC}/fandol/COPYING
-USE_XORG= x11
-USES= zip fonts
+USES= fonts zip
NO_WRKSUBDIR= yes
NO_BUILD= yes
+NO_ARCH= yes
FONTNAME= fandol
SUB_FILES= pkg-message
-PORTDOCS= README COPYING
+PORTDOCS= README
+
+OPTIONS_DEFINE= DOCS
do-install:
- ${MKDIR} ${STAGEDIR}${FONTSDIR}
-
- ${INSTALL_DATA} ${WRKSRC}/fandol/FandolSong-Bold.otf \
- ${STAGEDIR}${FONTSDIR}
- ${INSTALL_DATA} ${WRKSRC}/fandol/FandolSong-Regular.otf \
- ${STAGEDIR}${FONTSDIR}
- ${INSTALL_DATA} ${WRKSRC}/fandol/FandolHei-Regular.otf \
- ${STAGEDIR}${FONTSDIR}
- ${INSTALL_DATA} ${WRKSRC}/fandol/FandolHei-Bold.otf \
- ${STAGEDIR}${FONTSDIR}
- ${INSTALL_DATA} ${WRKSRC}/fandol/FandolFang-Regular.otf \
- ${STAGEDIR}${FONTSDIR}
- ${INSTALL_DATA} ${WRKSRC}/fandol/FandolKai-Regular.otf \
- ${STAGEDIR}${FONTSDIR}
- ${INSTALL_DATA} ${WRKSRC}/fandol/FandolBraille-Display.otf \
- ${STAGEDIR}${FONTSDIR}
- ${INSTALL_DATA} ${WRKSRC}/fandol/FandolBraille-Regular.otf \
- ${STAGEDIR}${FONTSDIR}
-
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} \
- ${WRKSRC}/fandol/README \
- ${WRKSRC}/fandol/COPYING \
- ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/fandol/*.otf ${STAGEDIR}${FONTSDIR}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/fandol/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/chinese/fandol/pkg-plist b/chinese/fandol/pkg-plist
index ece3faa5ab17..64592919a3d6 100644
--- a/chinese/fandol/pkg-plist
+++ b/chinese/fandol/pkg-plist
@@ -6,4 +6,3 @@
%%FONTSDIR%%/FandolKai-Regular.otf
%%FONTSDIR%%/FandolSong-Bold.otf
%%FONTSDIR%%/FandolSong-Regular.otf
-