46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.25 2010/11/20 09:48:39 espie Exp $
|
|
|
|
COMMENT-main= English PK fonts (300dpi) for ghostscript, xdvi, etc.
|
|
|
|
DISTNAME= pkfonts
|
|
VERSION= 1.0
|
|
PKGNAME= pkfonts-dpi300-${VERSION}
|
|
REVISION = 0
|
|
PKGNAME-main= pkfonts-dpi300-${VERSION}
|
|
REVISION-main = 0
|
|
CATEGORIES= print
|
|
|
|
PERMIT_PACKAGE_CDROM= no license
|
|
PERMIT_PACKAGE_FTP= no license
|
|
PERMIT_DISTFILES_CDROM= no license
|
|
PERMIT_DISTFILES_FTP= no license
|
|
|
|
S= FreeBSD-jp/ports-jp/LOCAL_PORTS/pkfonts
|
|
MASTER_SITES= ftp://ports.jp.FreeBSD.org/pub/$S/ \
|
|
ftp://ftp4.jp.FreeBSD.org/pub/$S/ \
|
|
ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/$S/
|
|
EXTRACT_ONLY=
|
|
DIST_SUBDIR= pkfonts-${VERSION}
|
|
|
|
MULTI_PACKAGES= -main -dpi118 -dpi240 -dpi360 -dpi400 -dpi600
|
|
|
|
DISTFILES= pk300.tar.gz
|
|
|
|
.for dpi in ${MULTI_PACKAGES:M-dpi*:S/-dpi//}
|
|
DISTFILES+= pk${dpi}.tar.gz
|
|
PKGNAME-dpi${dpi}= pkfonts-dpi${dpi}-${VERSION}
|
|
COMMENT-dpi${dpi}= ${COMMENT-main:S/300dpi/${dpi}dpi/}
|
|
.endfor
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/fonts
|
|
.for tarball in ${DISTFILES}
|
|
tar -xzf ${FULLDISTDIR}/${tarball} -C ${PREFIX}/lib/fonts
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|