aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-07 04:36:09 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-07 04:36:09 +0800
commitc5c6a9a2d4ac863f15be66b4dc5942346549914a (patch)
tree3be8da0abe52fd59d8ad182a297a791d47723812 /chinese
parentdc6d626e2ff5f6a66abfed7daa04585628b05300 (diff)
downloadfreebsd-ports-gnome-c5c6a9a2d4ac863f15be66b4dc5942346549914a.tar.gz
freebsd-ports-gnome-c5c6a9a2d4ac863f15be66b4dc5942346549914a.tar.zst
freebsd-ports-gnome-c5c6a9a2d4ac863f15be66b4dc5942346549914a.zip
- Add LICENSE
- Pet portlint - Switch to options helpers
Diffstat (limited to 'chinese')
-rw-r--r--chinese/gb2ps/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/chinese/gb2ps/Makefile b/chinese/gb2ps/Makefile
index c7e4e7773344..cb10e11a2409 100644
--- a/chinese/gb2ps/Makefile
+++ b/chinese/gb2ps/Makefile
@@ -10,11 +10,18 @@ DISTNAME= gb2ps.2.02
DISTFILES= ${DISTNAME}.tar.gz:sw \
csong24.ccf.gz:font ckai24.ccf.gz:font cfang24.ccf.gz:font \
chei24.ccf.gz:font cfan24.ccf.gz:font
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts Chinese GB (simple) encoded text to PostScript
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+LICENSE= UNKNOWN
+LICENSE_NAME= unknown
+LICENSE_TEXT= This program is NOT in public domain.\
+ It can be freely distributed for non-commercial purposes only,\
+ and THERE IS NO WARRANTY FOR THIS PROGRAM.
+LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+
WRKSRC= ${WRKDIR}/GB2PS
OPTIONS_DEFINE= DOCS
@@ -26,6 +33,8 @@ do-install:
.for font in csong24.ccf ckai24.ccf cfang24.ccf chei24.ccf cfan24.ccf
${GUNZIP_CMD} -c ${DISTDIR}/${font}.gz > ${STAGEDIR}${PREFIX}/share/chinese/gb/${font}
.endfor
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/gb2ps.help ${STAGEDIR}${DOCSDIR}