2013-09-21 00:43:59 +02:00
|
|
|
# Created by: Hideaki Ohmon <ohmon@tom.sfc.keio.ac.jp>
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1996-03-21 18:25:02 +01:00
|
|
|
|
2000-04-09 19:50:59 +02:00
|
|
|
PORTNAME= pkfonts${RESOLUTION}
|
|
|
|
PORTVERSION= 1.0
|
1996-11-17 09:45:20 +01:00
|
|
|
CATEGORIES= print
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= PORTS_JP/pkfonts
|
1996-03-21 18:25:02 +01:00
|
|
|
DISTFILES= pk${RESOLUTION}.tar.gz
|
|
|
|
# see below for RESOLUTION definition
|
|
|
|
|
2003-12-21 01:23:25 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-08-03 17:54:35 +02:00
|
|
|
COMMENT= English PK fonts, for ghostscripts, xdvi, and so on
|
2002-11-07 04:40:39 +01:00
|
|
|
|
1996-03-21 18:25:02 +01:00
|
|
|
DIST_SUBDIR= pkfonts
|
1998-11-07 11:50:04 +01:00
|
|
|
EXTRACT_ONLY= # extracted directly in install target
|
1996-03-21 18:25:02 +01:00
|
|
|
NO_BUILD= yes
|
2000-10-08 05:57:08 +02:00
|
|
|
PLIST= ${PKGDIR}/pkg-plist.${RESOLUTION}
|
1996-03-21 18:25:02 +01:00
|
|
|
|
|
|
|
.if !defined(RESOLUTION)
|
1998-11-07 11:50:04 +01:00
|
|
|
RESOLUTION= 300
|
1996-03-21 18:25:02 +01:00
|
|
|
.else
|
|
|
|
.if ${RESOLUTION} != 118 && ${RESOLUTION} != 240 && \
|
1996-11-09 12:30:02 +01:00
|
|
|
${RESOLUTION} != 300 && ${RESOLUTION} != 360 && \
|
|
|
|
${RESOLUTION} != 400 && ${RESOLUTION} != 600
|
1998-11-19 20:56:39 +01:00
|
|
|
.BEGIN:
|
2003-09-27 03:01:08 +02:00
|
|
|
@${ECHO_MSG} "Error: invalid value for RESOLUTION: \"${RESOLUTION}\""
|
|
|
|
@${ECHO_MSG} "Possible values are: 118, 240, 300, 360, 400 and 600."
|
1998-11-07 11:50:04 +01:00
|
|
|
@${FALSE}
|
|
|
|
.endif
|
1996-03-21 18:25:02 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2014-06-10 05:40:19 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/lib/fonts
|
|
|
|
${TAR} -C ${STAGEDIR}${PREFIX}/lib/fonts -xzf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
|
1996-07-10 12:13:16 +02:00
|
|
|
|
1996-03-21 18:25:02 +01:00
|
|
|
.include <bsd.port.mk>
|