2013-04-29 22:02:01 +02:00
|
|
|
# Created by: giffunip
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1998-12-24 13:13:20 +01:00
|
|
|
|
2000-04-09 19:50:59 +02:00
|
|
|
PORTNAME= gsfonts
|
2004-06-04 16:50:26 +02:00
|
|
|
PORTVERSION= 8.11
|
2013-05-01 04:55:55 +02:00
|
|
|
PORTREVISION= 6
|
2004-06-04 16:50:26 +02:00
|
|
|
CATEGORIES= print x11-fonts
|
2013-04-29 22:02:01 +02:00
|
|
|
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
|
2003-07-12 05:28:45 +02:00
|
|
|
DIST_SUBDIR= ghostscript
|
1998-12-24 13:13:20 +01:00
|
|
|
|
2009-05-31 11:19:10 +02:00
|
|
|
MAINTAINER= doceng@FreeBSD.org
|
|
|
|
COMMENT= Standard Fonts for Ghostscript
|
1998-12-24 13:13:20 +01:00
|
|
|
|
2004-06-04 16:50:26 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
1998-12-24 13:13:20 +01:00
|
|
|
NO_BUILD= yes
|
2004-06-04 16:50:26 +02:00
|
|
|
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
|
2013-04-29 22:02:01 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2004-06-04 16:50:26 +02:00
|
|
|
|
2009-05-31 11:19:10 +02:00
|
|
|
FONTSDIR= ${PREFIX}/share/ghostscript/fonts
|
|
|
|
CJKFONTS?= std.ja_JP/Ryumin-Light \
|
|
|
|
std.ja_JP/GothicBBB-Medium \
|
2013-05-01 04:55:55 +02:00
|
|
|
std.ja_JP/Ryumin-Light.gs7 \
|
|
|
|
std.ja_JP/GothicBBB-Medium.gs7 \
|
2009-05-31 11:19:10 +02:00
|
|
|
std.zh_CN/STHeiti-Regular \
|
|
|
|
std.zh_CN/STSong-Light \
|
|
|
|
std.zh_CN/MSung-Light
|
2004-06-04 16:50:26 +02:00
|
|
|
|
2009-05-31 11:19:10 +02:00
|
|
|
do-install:
|
2004-06-04 16:50:26 +02:00
|
|
|
${MKDIR} ${FONTSDIR}
|
2009-05-31 11:19:10 +02:00
|
|
|
cd ${WRKSRC}/fonts && \
|
|
|
|
${INSTALL_DATA} fonts.dir COPYING \
|
|
|
|
*.afm *.gsf *.pfa *.pfb *.pfm ${FONTSDIR}/ \
|
|
|
|
&& ${INSTALL_DATA} fonts.scale ${FONTSDIR}/fonts.scale.urw
|
|
|
|
cd ${FILESDIR} && \
|
|
|
|
${INSTALL_DATA} fonts.scale Fontmap ${FONTSDIR}/
|
|
|
|
for F in ${CJKFONTS}; do \
|
|
|
|
${LN} -s -f ${PREFIX}/share/fonts/$${F} ${FONTSDIR}/; \
|
2007-04-28 15:03:16 +02:00
|
|
|
done
|
2004-06-04 16:50:26 +02:00
|
|
|
|
2013-04-29 22:02:01 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
PORTDOCS= ChangeLog README README.tweaks TODO
|
|
|
|
|
2009-05-31 11:19:10 +02:00
|
|
|
post-install:
|
2004-06-04 16:50:26 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2009-05-31 11:19:10 +02:00
|
|
|
cd ${WRKSRC}/fonts && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
2004-06-04 16:50:26 +02:00
|
|
|
.endif
|
1998-12-24 13:13:20 +01:00
|
|
|
|
2004-06-04 16:50:26 +02:00
|
|
|
.include <bsd.port.mk>
|