aboutsummaryrefslogtreecommitdiffstats
path: root/print/gsfonts
diff options
context:
space:
mode:
authorokazaki <okazaki@FreeBSD.org>2006-04-27 05:47:19 +0800
committerokazaki <okazaki@FreeBSD.org>2006-04-27 05:47:19 +0800
commit61a425e00c251695b1139538c9a6760e4d4df33b (patch)
treeb789ea4797e3c7fb9f3ba8db9382303a0160836e /print/gsfonts
parentbe6e2fec68d272448291f6e2e9b4767dc45b831a (diff)
downloadfreebsd-ports-gnome-61a425e00c251695b1139538c9a6760e4d4df33b.tar.gz
freebsd-ports-gnome-61a425e00c251695b1139538c9a6760e4d4df33b.tar.zst
freebsd-ports-gnome-61a425e00c251695b1139538c9a6760e4d4df33b.zip
Add mirror sites to the MASTER_SITES.
Utilize PORTDOCS.
Diffstat (limited to 'print/gsfonts')
-rw-r--r--print/gsfonts/Makefile6
-rw-r--r--print/gsfonts/pkg-plist10
2 files changed, 9 insertions, 7 deletions
diff --git a/print/gsfonts/Makefile b/print/gsfonts/Makefile
index 734ff6504908..9c175d52c560 100644
--- a/print/gsfonts/Makefile
+++ b/print/gsfonts/Makefile
@@ -9,8 +9,10 @@ PORTNAME= gsfonts
PORTVERSION= 8.11
PORTREVISION= 2
CATEGORIES= print x11-fonts
-MASTER_SITES= ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/
-DISTFILES= ${GS_FONTS_STD} ${GS_FONTS_OTHER}
+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/}
DIST_SUBDIR= ghostscript
MAINTAINER= ports@FreeBSD.org
diff --git a/print/gsfonts/pkg-plist b/print/gsfonts/pkg-plist
index b2cd1846f227..83ad5ee89ac4 100644
--- a/print/gsfonts/pkg-plist
+++ b/print/gsfonts/pkg-plist
@@ -152,10 +152,10 @@
%%FONTSDIR%%/z003034l.afm
%%FONTSDIR%%/z003034l.pfb
%%FONTSDIR%%/z003034l.pfm
-%%PORTDOCS%%share/doc/gsfonts/ChangeLog
-%%PORTDOCS%%share/doc/gsfonts/README
-%%PORTDOCS%%share/doc/gsfonts/README.tweaks
-%%PORTDOCS%%share/doc/gsfonts/TODO
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.tweaks
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%FONTSDIR%%
-%%PORTDOCS%%@dirrm share/doc/gsfonts
@dirrmtry share/ghostscript