Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2018 09:03:56 +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: r469012 - head/print/gsfonts
Message-ID:  <201805040903.w4493uL0078810@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri May  4 09:03:56 2018
New Revision: 469012
URL: https://svnweb.freebsd.org/changeset/ports/469012

Log:
  - Add LICENSE
  - Add NO_ARCH
  - No need to install license as data
  
  Approved by:	portmgr blanket

Modified:
  head/print/gsfonts/Makefile
  head/print/gsfonts/pkg-plist

Modified: head/print/gsfonts/Makefile
==============================================================================
--- head/print/gsfonts/Makefile	Fri May  4 08:33:56 2018	(r469011)
+++ head/print/gsfonts/Makefile	Fri May  4 09:03:56 2018	(r469012)
@@ -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} && \
@@ -39,8 +45,6 @@ do-install:
 	for F in ${CJKFONTS}; do \
 		${LN} -s -f ${PREFIX}/share/fonts/$${F} ${FONTSDIR}/; \
 	done
-
-PORTDOCS=	ChangeLog README README.tweaks TODO
 
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/print/gsfonts/pkg-plist
==============================================================================
--- head/print/gsfonts/pkg-plist	Fri May  4 08:33:56 2018	(r469011)
+++ head/print/gsfonts/pkg-plist	Fri May  4 09:03:56 2018	(r469012)
@@ -1,4 +1,3 @@
-%%FONTSDIR%%/COPYING
 %%FONTSDIR%%/Fontmap
 %%FONTSDIR%%/a010013l.afm
 %%FONTSDIR%%/a010013l.pfb



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