diff options
author | hrs <hrs@FreeBSD.org> | 2013-04-30 04:02:01 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2013-04-30 04:02:01 +0800 |
commit | 9dfc81344204e78e21d50f6049a5b14ae298c673 (patch) | |
tree | 64f27f36fe9f04a0c8a53f8e7d4c8ce9d968ce88 /print/gsfonts | |
parent | 712b08985a0aad11e363c8a71f11d3fd20128f5f (diff) | |
download | freebsd-ports-gnome-9dfc81344204e78e21d50f6049a5b14ae298c673.tar.gz freebsd-ports-gnome-9dfc81344204e78e21d50f6049a5b14ae298c673.tar.zst freebsd-ports-gnome-9dfc81344204e78e21d50f6049a5b14ae298c673.zip |
- Update MASTER_SITES.
- Trim old-style header.
- Use OPTIONS_DEFINE.
Diffstat (limited to 'print/gsfonts')
-rw-r--r-- | print/gsfonts/Makefile | 25 | ||||
-rw-r--r-- | print/gsfonts/distinfo | 4 |
2 files changed, 13 insertions, 16 deletions
diff --git a/print/gsfonts/Makefile b/print/gsfonts/Makefile index 1bae0ab3d26d..3e9caadc4ace 100644 --- a/print/gsfonts/Makefile +++ b/print/gsfonts/Makefile @@ -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@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} diff --git a/print/gsfonts/distinfo b/print/gsfonts/distinfo index 23e0f99b241f..04ab2832675e 100644 --- a/print/gsfonts/distinfo +++ b/print/gsfonts/distinfo @@ -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 |