Date: Mon, 27 Feb 2017 09:01:47 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434918 - head/chinese/fandol Message-ID: <201702270901.v1R91lwR082004@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Feb 27 09:01:46 2017 New Revision: 434918 URL: https://svnweb.freebsd.org/changeset/ports/434918 Log: - Add LICENSE_FILE - Remove unneeded libX11 dependency - Don't install COPYING along with documentation - Simplify installation - Add NO_ARCH - Switch to options helpers Modified: head/chinese/fandol/Makefile head/chinese/fandol/pkg-plist Modified: head/chinese/fandol/Makefile ============================================================================== --- head/chinese/fandol/Makefile Mon Feb 27 08:50:23 2017 (r434917) +++ head/chinese/fandol/Makefile Mon Feb 27 09:01:46 2017 (r434918) @@ -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} + @${MKDIR} ${STAGEDIR}${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/fandol/*.otf ${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} +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/fandol/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/chinese/fandol/pkg-plist ============================================================================== --- head/chinese/fandol/pkg-plist Mon Feb 27 08:50:23 2017 (r434917) +++ head/chinese/fandol/pkg-plist Mon Feb 27 09:01:46 2017 (r434918) @@ -6,4 +6,3 @@ %%FONTSDIR%%/FandolKai-Regular.otf %%FONTSDIR%%/FandolSong-Bold.otf %%FONTSDIR%%/FandolSong-Regular.otf -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702270901.v1R91lwR082004>