1996-03-21 17:25:02 +00:00
|
|
|
# New ports collection makefile for: English PK fonts
|
|
|
|
# Version required: ?
|
|
|
|
# Date created: 16 Mar 1996
|
1996-10-15 23:31:45 +00:00
|
|
|
# Whom: Hideaki Ohmon <ohmon@tom.sfc.keio.ac.jp>
|
1996-03-21 17:25:02 +00:00
|
|
|
#
|
1999-01-27 02:08:13 +00:00
|
|
|
# $Id: Makefile,v 1.14 1998/12/10 17:24:32 vanilla Exp $
|
1996-03-21 17:25:02 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= pkfonts
|
|
|
|
PKGNAME= pkfonts${RESOLUTION}-1.0
|
1996-11-17 08:45:20 +00:00
|
|
|
CATEGORIES= print
|
1998-12-10 17:24:33 +00:00
|
|
|
MASTER_SITES= ftp://ftp.tut.ac.jp/TeX/fonts/ \
|
1999-01-27 02:08:13 +00:00
|
|
|
ftp://ftp.univ-evry.fr/.04/system/OpenBSD/distfiles/pkfonts/
|
1996-03-21 17:25:02 +00:00
|
|
|
DISTFILES= pk${RESOLUTION}.tar.gz
|
|
|
|
# see below for RESOLUTION definition
|
|
|
|
|
|
|
|
DIST_SUBDIR= pkfonts
|
1998-11-07 10:50:04 +00:00
|
|
|
EXTRACT_ONLY= # extracted directly in install target
|
1996-03-21 17:25:02 +00:00
|
|
|
NO_BUILD= yes
|
1998-11-08 09:37:11 +00:00
|
|
|
PLIST= ${PKGDIR}/${RESOLUTION}.list
|
1996-03-21 17:25:02 +00:00
|
|
|
|
|
|
|
.if !defined(RESOLUTION)
|
1998-11-07 10:50:04 +00:00
|
|
|
RESOLUTION= 300
|
1996-03-21 17:25:02 +00:00
|
|
|
.else
|
|
|
|
.if ${RESOLUTION} != 118 && ${RESOLUTION} != 240 && \
|
1996-11-09 11:30:02 +00:00
|
|
|
${RESOLUTION} != 300 && ${RESOLUTION} != 360 && \
|
|
|
|
${RESOLUTION} != 400 && ${RESOLUTION} != 600
|
1998-11-19 19:56:39 +00:00
|
|
|
.BEGIN:
|
1998-11-07 10:50:04 +00:00
|
|
|
@${ECHO} "Error: invalid value for RESOLUTION: \"${RESOLUTION}\""
|
1998-11-19 19:56:39 +00:00
|
|
|
@${ECHO} "Possible values are: 118, 240, 300, 360, 400 and 600."
|
1998-11-07 10:50:04 +00:00
|
|
|
@${FALSE}
|
|
|
|
.endif
|
1996-03-21 17:25:02 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
1996-11-17 08:45:20 +00:00
|
|
|
${MKDIR} ${PREFIX}/lib/fonts
|
1996-12-03 04:07:49 +00:00
|
|
|
tar -C ${PREFIX}/lib/fonts -xzf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
|
1996-07-10 10:13:16 +00:00
|
|
|
|
1996-03-21 17:25:02 +00:00
|
|
|
.include <bsd.port.mk>
|