1998-12-24 12:13:20 +00:00
|
|
|
# New ports collection makefile for: gsfonts
|
|
|
|
# Date created: 11 September 1997
|
|
|
|
# Whom: giffunip
|
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1998-12-24 12:13:20 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 17:50:59 +00:00
|
|
|
PORTNAME= gsfonts
|
2004-06-04 14:50:26 +00:00
|
|
|
PORTVERSION= 8.11
|
2004-09-25 17:51:30 +00:00
|
|
|
PORTREVISION= 2
|
2004-06-04 14:50:26 +00:00
|
|
|
CATEGORIES= print x11-fonts
|
2006-04-26 21:47:19 +00:00
|
|
|
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/}
|
2003-07-12 03:28:45 +00:00
|
|
|
DIST_SUBDIR= ghostscript
|
1998-12-24 12:13:20 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-07-12 03:28:45 +00:00
|
|
|
COMMENT= Fonts used by GNU Ghostscript (or X)
|
1998-12-24 12:13:20 +00:00
|
|
|
|
2004-06-04 14:50:26 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
1998-12-24 12:13:20 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2004-06-04 14:50:26 +00:00
|
|
|
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
|
|
|
|
|
|
|
|
MSG_FILE= ${PKGDIR}/pkg-message
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
|
|
|
#
|
|
|
|
# Local variables
|
|
|
|
#
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
.SILENT:
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${SED} 's|%%FONTSDIR%%|${FONTSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
|
2004-09-25 17:51:30 +00:00
|
|
|
${CP} ${WRKSRC}/fonts/fonts.scale ${WRKSRC}/fonts/fonts.scale.urw
|
|
|
|
${CP} ${FILESDIR}/fonts.scale ${WRKSRC}/fonts/fonts.scale
|
|
|
|
${CP} ${FILESDIR}/fonts.scale ${WRKSRC}/fonts/fonts.dir
|
|
|
|
${CP} ${FILESDIR}/Fontmap ${WRKSRC}/fonts/Fontmap
|
2004-06-04 14:50:26 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Install
|
|
|
|
#
|
|
|
|
|
2004-09-25 17:51:30 +00:00
|
|
|
do-install: install-fonts install-docs
|
2004-06-04 14:50:26 +00:00
|
|
|
|
|
|
|
install-fonts:
|
|
|
|
${MKDIR} ${FONTSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/COPYING ${FONTSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/*.afm ${FONTSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/*.gsf ${FONTSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/*.pfa ${FONTSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/*.pfb ${FONTSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/*.pfm ${FONTSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/fonts.dir ${FONTSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/fonts.scale ${FONTSDIR}
|
2004-09-25 17:51:30 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/fonts.scale.urw ${FONTSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/Fontmap ${FONTSDIR}
|
2004-06-04 14:50:26 +00:00
|
|
|
|
|
|
|
install-docs:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/ChangeLog ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/README ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/README.tweaks ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/TODO ${DOCSDIR}
|
|
|
|
.endif
|
1998-12-24 12:13:20 +00:00
|
|
|
|
2004-06-04 14:50:26 +00:00
|
|
|
.include <bsd.port.mk>
|