1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/print/amspsfnt/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

55 lines
1.1 KiB
Makefile

# New ports collection makefile for: amspsfnt
# Date created: 11 September 1998
# Whom: giffunip
#
# $FreeBSD$
#
PORTNAME= amspsfnt
PORTVERSION= 1.0
PORTREVISION= 5
CATEGORIES= print x11-fonts
MASTER_SITES= ftp://ftp.ams.org/pub/tex/psfonts/ams/
DISTNAME= amsps
EXTRACT_SUFX= -unix.tar.gz
MAINTAINER= hrs@FreeBSD.org
COMMENT= AMSFonts PostScript Fonts (Adobe Type 1 format)
.if !defined(WITHOUT_X11)
BUILD_DEPENDS= ${LOCALBASE}/bin/type1inst:${PORTSDIR}/x11-fonts/p5-type1inst
.endif
WRKSRC= ${WRKDIR}/amspsfnt
PLIST_SUB= PLIST_X11=${PLIST_X11}
.if !defined(WITHOUT_X11)
PLIST_X11= ""
SUB_FILES= pkg-message
.else
PLIST_X11= "@comment "
.endif
FONTSDIR= share/fonts/amspsfont
do-build:
.if !defined(WITHOUT_X11)
(cd ${WRKSRC}/pfb; ${LOCALBASE}/bin/type1inst -nolog -quiet)
.else
@${DO_NADA}
.endif
do-install:
${MKDIR} ${PREFIX}/${FONTSDIR}/afm
${INSTALL_DATA} ${WRKSRC}/afm/* ${PREFIX}/${FONTSDIR}/afm
${MKDIR} ${PREFIX}/${FONTSDIR}/type1
${INSTALL_DATA} ${WRKSRC}/pfb/* ${PREFIX}/${FONTSDIR}/type1
${INSTALL_DATA} ${WRKSRC}/READ.ME ${PREFIX}/${FONTSDIR}/
.if !defined(WITHOUT_X11)
post-install:
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>