1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/japanese/k10/Makefile
Satoshi Asami 3405e8106b Add BUILD_DEPENDS=bdftopcf:XFree86-4-clients and
RUN_DEPENDS=mkfontdir:XFree86-4-clients when XFREE86_VERSION=4.

Submitted by:	bento
2000-09-12 13:04:00 +00:00

41 lines
921 B
Makefile

# New ports collection makefile for: naga10
# Date created: 25 Feb 1998
# Whom: Eiji-usagi-MATSUmoto <usagi@ruby.club.or.jp>
#
# $FreeBSD$
#
PORTNAME= naga10
PORTVERSION= 1.1
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://hp.vector.co.jp/authors/VA013391/fonts/
DISTNAME= knj10-${PORTVERSION}
MAINTAINER= usagi@clave.gr.jp
USE_X_PREFIX= yes
.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
FONTSDIR= lib/X11/fonts/local
MAKE_ENV= FONTSDIR=${FONTSDIR}
PLIST_SUB= FONTSDIR=${FONTSDIR}
pre-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
post-install:
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/naga10
@${CP} ${WRKSRC}/README ${PREFIX}/share/doc/naga10/
.endif
.include <bsd.port.post.mk>