aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-05-04 17:03:56 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-05-04 17:03:56 +0800
commit69b5db035516c326df1778a2fbc5a88be7e27632 (patch)
tree1d9d2b9a76caec1f5b3a350bfdf77e91c0585735 /print
parent1e553afba4ee22c478a84d36adccbfc934871009 (diff)
downloadfreebsd-ports-gnome-69b5db035516c326df1778a2fbc5a88be7e27632.tar.gz
freebsd-ports-gnome-69b5db035516c326df1778a2fbc5a88be7e27632.tar.zst
freebsd-ports-gnome-69b5db035516c326df1778a2fbc5a88be7e27632.zip
- Add LICENSE
- Add NO_ARCH - No need to install license as data Approved by: portmgr blanket
Diffstat (limited to 'print')
-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