aboutsummaryrefslogtreecommitdiff
path: root/print/gsfonts
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-05-04 09:03:56 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-05-04 09:03:56 +0000
commitc0f103ff84ca4a446d6ece755d92d9506fb56fbd (patch)
tree1d9d2b9a76caec1f5b3a350bfdf77e91c0585735 /print/gsfonts
parentce6c6a2d8ee33882c99b5faa349e25db8ac18fbf (diff)
downloadports-c0f103ff84ca4a446d6ece755d92d9506fb56fbd.tar.gz
ports-c0f103ff84ca4a446d6ece755d92d9506fb56fbd.zip
Notes
Diffstat (limited to 'print/gsfonts')
-rw-r--r--print/gsfonts/Makefile10
-rw-r--r--print/gsfonts/pkg-plist1
2 files changed, 7 insertions, 4 deletions
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