From c0f103ff84ca4a446d6ece755d92d9506fb56fbd Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 4 May 2018 09:03:56 +0000 Subject: - Add LICENSE - Add NO_ARCH - No need to install license as data Approved by: portmgr blanket --- print/gsfonts/Makefile | 10 +++++++--- print/gsfonts/pkg-plist | 1 - 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'print') diff --git a/print/gsfonts/Makefile b/print/gsfonts/Makefile index 293352228a55..1db7d09a65df 100644 --- a/print/gsfonts/Makefile +++ b/print/gsfonts/Makefile @@ -14,8 +14,12 @@ DIST_SUBDIR= ghostscript MAINTAINER= doceng@FreeBSD.org COMMENT= Standard Fonts for Ghostscript +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/fonts/COPYING + NO_WRKSUBDIR= yes NO_BUILD= yes +NO_ARCH= yes PLIST_SUB= FONTSDIR="${FONTSDIR:S|${STAGEDIR}${PREFIX}/||}" OPTIONS_DEFINE= DOCS @@ -28,10 +32,12 @@ CJKFONTS?= std.ja_JP/Ryumin-Light \ std.zh_CN/STSong-Light \ std.zh_CN/MSung-Light +PORTDOCS= ChangeLog README README.tweaks TODO + do-install: ${MKDIR} ${FONTSDIR} cd ${WRKSRC}/fonts && \ - ${INSTALL_DATA} fonts.dir COPYING \ + ${INSTALL_DATA} fonts.dir \ *.afm *.gsf *.pfa *.pfb *.pfm ${FONTSDIR}/ \ && ${INSTALL_DATA} fonts.scale ${FONTSDIR}/fonts.scale.urw cd ${FILESDIR} && \ @@ -40,8 +46,6 @@ do-install: ${LN} -s -f ${PREFIX}/share/fonts/$${F} ${FONTSDIR}/; \ done -PORTDOCS= ChangeLog README README.tweaks TODO - post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/fonts && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} diff --git a/print/gsfonts/pkg-plist b/print/gsfonts/pkg-plist index 61372b9cfc24..b4e9f9f06f52 100644 --- a/print/gsfonts/pkg-plist +++ b/print/gsfonts/pkg-plist @@ -1,4 +1,3 @@ -%%FONTSDIR%%/COPYING %%FONTSDIR%%/Fontmap %%FONTSDIR%%/a010013l.afm %%FONTSDIR%%/a010013l.pfb -- cgit v1.2.3