1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/print/pkfonts300/Makefile
Satoshi Asami 25e789dc90 Remove two sites that have files with bad checksum. There's another one
(ftp.univ-evry.fr) that I cannot connect at the moment, but it's left there.
1999-01-27 02:08:13 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: English PK fonts
# Version required: ?
# Date created: 16 Mar 1996
# Whom: Hideaki Ohmon <ohmon@tom.sfc.keio.ac.jp>
#
# $Id: Makefile,v 1.14 1998/12/10 17:24:32 vanilla Exp $
#
DISTNAME= pkfonts
PKGNAME= pkfonts${RESOLUTION}-1.0
CATEGORIES= print
MASTER_SITES= ftp://ftp.tut.ac.jp/TeX/fonts/ \
ftp://ftp.univ-evry.fr/.04/system/OpenBSD/distfiles/pkfonts/
DISTFILES= pk${RESOLUTION}.tar.gz
# see below for RESOLUTION definition
DIST_SUBDIR= pkfonts
EXTRACT_ONLY= # extracted directly in install target
NO_BUILD= yes
PLIST= ${PKGDIR}/${RESOLUTION}.list
.if !defined(RESOLUTION)
RESOLUTION= 300
.else
.if ${RESOLUTION} != 118 && ${RESOLUTION} != 240 && \
${RESOLUTION} != 300 && ${RESOLUTION} != 360 && \
${RESOLUTION} != 400 && ${RESOLUTION} != 600
.BEGIN:
@${ECHO} "Error: invalid value for RESOLUTION: \"${RESOLUTION}\""
@${ECHO} "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>