2f08e80c7d
Noticed by Tobias Ulmer; ok merdely@ jasper@
34 lines
895 B
Makefile
34 lines
895 B
Makefile
# $OpenBSD: Makefile,v 1.9 2008/03/31 12:49:58 wcmaier Exp $
|
|
|
|
COMMENT= 35 standard PostScript fonts with Adobe name aliases
|
|
|
|
DISTNAME= ghostscript-fonts-std-8.11
|
|
PKGNAME= ${DISTNAME:S,-std-,-,}p0
|
|
CATEGORIES= x11 print
|
|
|
|
HOMEPAGE= http://www.cs.wisc.edu/~ghost/doc/cvs/Fonts.htm
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/}
|
|
|
|
WRKDIST= ${WRKDIR}
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
FONTDIR= ${PREFIX}/share/ghostscript/fonts
|
|
X11FONTDIR= ${PREFIX}/lib/X11/fonts
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${FONTDIR}
|
|
${INSTALL_DATA} ${WRKDIST}/fonts/*.{afm,pfm,pfb} ${FONTDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/fonts.alias ${FONTDIR}/fonts.alias-gs
|
|
${INSTALL_DATA_DIR} ${X11FONTDIR}
|
|
cd ${X11FONTDIR} && ln -s ../../../share/ghostscript/fonts ghostscript
|
|
|
|
.include <bsd.port.mk>
|