freebsd-ports/print/pkfonts300/Makefile
Edwin Groothuis f07f504808 KATO mega patch
- ECHO -> ECHO_MSG

For some ports:
- pre-fetch -> pre-everything
- ECHO -> ECHO_CMD

PR:		ports/56820-56858
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2003-09-27 01:01:08 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: English PK fonts
# Date created: 16 Mar 1996
# Whom: Hideaki Ohmon <ohmon@tom.sfc.keio.ac.jp>
#
# $FreeBSD$
#
PORTNAME= pkfonts${RESOLUTION}
PORTVERSION= 1.0
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_PORTS_JP}
MASTER_SITE_SUBDIR= pkfonts
DISTFILES= pk${RESOLUTION}.tar.gz
# see below for RESOLUTION definition
MAINTAINER= ports@freebsd.org
COMMENT= English PK fonts, for ghostscripts, xdvi and so on
DIST_SUBDIR= pkfonts
EXTRACT_ONLY= # extracted directly in install target
NO_BUILD= yes
PLIST= ${PKGDIR}/pkg-plist.${RESOLUTION}
.if !defined(RESOLUTION)
RESOLUTION= 300
.else
.if ${RESOLUTION} != 118 && ${RESOLUTION} != 240 && \
${RESOLUTION} != 300 && ${RESOLUTION} != 360 && \
${RESOLUTION} != 400 && ${RESOLUTION} != 600
.BEGIN:
@${ECHO_MSG} "Error: invalid value for RESOLUTION: \"${RESOLUTION}\""
@${ECHO_MSG} "Possible values are: 118, 240, 300, 360, 400 and 600."
@${FALSE}
.endif
.endif
do-install:
${MKDIR} ${PREFIX}/lib/fonts
tar -C ${PREFIX}/lib/fonts -xzf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
.include <bsd.port.mk>