svn commit: r316843 - head/print/gsfonts

Hiroki Sato hrs at FreeBSD.org
Mon Apr 29 20:02:02 UTC 2013


Author: hrs
Date: Mon Apr 29 20:02:01 2013
New Revision: 316843
URL: http://svnweb.freebsd.org/changeset/ports/316843

Log:
  - Update MASTER_SITES.
  - Trim old-style header.
  - Use OPTIONS_DEFINE.

Modified:
  head/print/gsfonts/Makefile
  head/print/gsfonts/distinfo

Modified: head/print/gsfonts/Makefile
==============================================================================
--- head/print/gsfonts/Makefile	Mon Apr 29 19:51:19 2013	(r316842)
+++ head/print/gsfonts/Makefile	Mon Apr 29 20:02:01 2013	(r316843)
@@ -1,18 +1,14 @@
-# New ports collection makefile for:	gsfonts
-# Date created:		11 September 1997
-# Whom:			giffunip
-#
+# Created by: giffunip
 # $FreeBSD$
-#
 
 PORTNAME=	gsfonts
 PORTVERSION=	8.11
 PORTREVISION=	5
 CATEGORIES=	print x11-fonts
-MASTER_SITES=	ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ \
-		${MASTER_SITE_TEX_CTAN:S/$/:CTAN/}
-MASTER_SITE_SUBDIR=	support/ghostscript/fonts/:CTAN
-DISTFILES=	${GS_FONTS_STD:S/$/:DEFAULT,CTAN/} ${GS_FONTS_OTHER:S/$/:DEFAULT,CTAN/}
+MASTER_SITES=	SF/gs-fonts/gs-fonts/${PORTVERSION}%20%28base%2035%2C%20GPL%29/:std \
+		SF/gs-fonts/gs-fonts/6.0%20%28misc%2C%20GPL%29/:other
+DISTFILES=	ghostscript-fonts-std-${PORTVERSION}${EXTRACT_SUFX}:std \
+		gnu-gs-fonts-other-6.0${EXTRACT_SUFX}:other
 DIST_SUBDIR=	ghostscript
 
 MAINTAINER=	doceng at FreeBSD.org
@@ -21,12 +17,9 @@ COMMENT=	Standard Fonts for Ghostscript
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 PLIST_SUB=	FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
-
-PORTDOCS=	ChangeLog README README.tweaks TODO
+OPTIONS_DEFINE=	DOCS
 
 FONTSDIR=	${PREFIX}/share/ghostscript/fonts
-GS_FONTS_STD=	ghostscript-fonts-std-8.11.tar.gz
-GS_FONTS_OTHER=	ghostscript-fonts-other-6.0.tar.gz
 CJKFONTS?=	std.ja_JP/Ryumin-Light \
 		std.ja_JP/GothicBBB-Medium \
 		std.zh_CN/STHeiti-Regular \
@@ -45,7 +38,11 @@ do-install:
 		${LN} -s -f ${PREFIX}/share/fonts/$${F} ${FONTSDIR}/; \
 	done
 
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+PORTDOCS=	ChangeLog README README.tweaks TODO
+
 post-install:
 	${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC}/fonts && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}

Modified: head/print/gsfonts/distinfo
==============================================================================
--- head/print/gsfonts/distinfo	Mon Apr 29 19:51:19 2013	(r316842)
+++ head/print/gsfonts/distinfo	Mon Apr 29 20:02:01 2013	(r316843)
@@ -1,4 +1,4 @@
 SHA256 (ghostscript/ghostscript-fonts-std-8.11.tar.gz) = 0eb6f356119f2e49b2563210852e17f57f9dcc5755f350a69a46a0d641a0c401
 SIZE (ghostscript/ghostscript-fonts-std-8.11.tar.gz) = 3752871
-SHA256 (ghostscript/ghostscript-fonts-other-6.0.tar.gz) = 4fa051e341167008d37fe34c19d241060cd17b13909932cd7ca7fe759243c2de
-SIZE (ghostscript/ghostscript-fonts-other-6.0.tar.gz) = 796086
+SHA256 (ghostscript/gnu-gs-fonts-other-6.0.tar.gz) = 8146cccc4699fe9dab841446bdd17039f4769c903eceb54409188b920754aab3
+SIZE (ghostscript/gnu-gs-fonts-other-6.0.tar.gz) = 796086


More information about the svn-ports-all mailing list