diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-02-27 09:01:46 +0000 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-02-27 09:01:46 +0000 |
commit | 7e6e638a72805312bdede7be1a9c02a461461550 (patch) | |
tree | a3502c471c7e7b27dadfb891a25d2916436fb12e | |
parent | 0febbe0ff4217e51b0ec56b1c930b2f745a4bf71 (diff) | |
download | FreeBSD-ports-7e6e638a72805312bdede7be1a9c02a461461550.zip FreeBSD-ports-7e6e638a72805312bdede7be1a9c02a461461550.tar.gz |
- Add LICENSE_FILE
- Remove unneeded libX11 dependency
- Don't install COPYING along with documentation
- Simplify installation
- Add NO_ARCH
- Switch to options helpers
-rw-r--r-- | chinese/fandol/Makefile | 39 | ||||
-rw-r--r-- | chinese/fandol/pkg-plist | 1 |
2 files changed, 12 insertions, 28 deletions
diff --git a/chinese/fandol/Makefile b/chinese/fandol/Makefile index 1450024..11ffda6 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 ece3faa..6459291 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 - |