Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2015 20:36:09 +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: r403162 - head/chinese/gb2ps
Message-ID:  <201512062036.tB6Ka9xM047059@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Dec  6 20:36:09 2015
New Revision: 403162
URL: https://svnweb.freebsd.org/changeset/ports/403162

Log:
  - Add LICENSE
  - Pet portlint
  - Switch to options helpers

Modified:
  head/chinese/gb2ps/Makefile

Modified: head/chinese/gb2ps/Makefile
==============================================================================
--- head/chinese/gb2ps/Makefile	Sun Dec  6 20:35:54 2015	(r403161)
+++ head/chinese/gb2ps/Makefile	Sun Dec  6 20:36:09 2015	(r403162)
@@ -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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512062036.tB6Ka9xM047059>