2001-06-01 16:25:58 +02:00
|
|
|
# New ports collection makefile for: jisx0213-fonts
|
|
|
|
# Date created: Jun 1 2001
|
|
|
|
# Whom: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jisx0213-fonts
|
|
|
|
PORTVERSION= 1.03
|
2002-02-27 15:06:21 +01:00
|
|
|
PORTREVISION= 5
|
2001-06-01 16:25:58 +02:00
|
|
|
CATEGORIES= japanese x11-fonts
|
|
|
|
MASTER_SITES= http://www.mars.sphere.ne.jp/imamura/
|
|
|
|
DISTFILES= jiskan16-2000-1.bdf.gz jiskan16-2000-2.bdf.gz \
|
|
|
|
K14-1.bdf.gz K14-2.bdf.gz K12-1.bdf.gz K12-2.bdf.gz
|
|
|
|
|
2002-02-27 15:06:21 +01:00
|
|
|
MAINTAINER= yoichi@FreeBSD.org
|
2001-06-01 16:25:58 +02:00
|
|
|
|
2002-01-21 00:14:24 +01:00
|
|
|
BUILD_DEPENDS= mkbold:${PORTSDIR}/x11-fonts/mkbold \
|
|
|
|
mkitalic:${PORTSDIR}/x11-fonts/mkitalic
|
|
|
|
|
2001-06-01 16:25:58 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
FONTSDIR= lib/X11/fonts/local
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${XFREE86_VERSION} == 4
|
|
|
|
BUILD_DEPENDS+= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
|
|
|
|
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
|
|
|
|
.endif
|
|
|
|
|
2002-01-21 00:14:24 +01:00
|
|
|
EXTRACT_CMD= ${CP}
|
|
|
|
EXTRACT_BEFORE_ARGS= -p
|
|
|
|
EXTRACT_AFTER_ARGS= ${WRKDIR}
|
2001-06-01 16:25:58 +02:00
|
|
|
|
2002-01-21 00:14:24 +01:00
|
|
|
MAKE_ENV= FONTSDIR=${FONTSDIR}
|
|
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
2001-06-01 16:25:58 +02:00
|
|
|
|
2002-01-21 00:14:24 +01:00
|
|
|
post-extract:
|
|
|
|
@${CP} ${FILESDIR}/Makefile.in ${WRKDIR}/Makefile
|
|
|
|
@(cd ${WRKDIR}; ${GUNZIP_CMD} *.gz)
|
2001-06-01 16:25:58 +02:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} \
|
|
|
|
${SH} ${PKGREQ} ${PKGNAME} INSTALL
|
|
|
|
|
2002-01-21 00:14:24 +01:00
|
|
|
post-install:
|
|
|
|
@(cd ${PREFIX}/${FONTSDIR}; mkfontdir)
|
|
|
|
|
2001-06-01 16:25:58 +02:00
|
|
|
.include <bsd.port.post.mk>
|