1998-04-22 14:19:09 +00:00
|
|
|
# New ports collection makefile for: kappafont
|
1998-11-20 20:24:53 +00:00
|
|
|
# Date created: 8 Oct 1998
|
2000-03-11 17:47:54 +00:00
|
|
|
# Whom: Kawaguti Ginga <ginga@athena.club.ne.jp>
|
1998-04-22 14:19:09 +00:00
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1998-04-22 14:19:09 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= kappa20
|
|
|
|
PORTVERSION= 0.3
|
1998-08-07 22:43:13 +00:00
|
|
|
CATEGORIES= japanese x11-fonts
|
1998-11-20 15:14:56 +00:00
|
|
|
MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/misc/character/fonts/kappa/
|
2000-04-11 14:15:53 +00:00
|
|
|
DISTNAME= Kappa20-${PORTVERSION}
|
1998-04-22 14:19:09 +00:00
|
|
|
|
2000-03-11 17:47:54 +00:00
|
|
|
MAINTAINER= ginga@athena.club.ne.jp
|
1998-04-22 14:19:09 +00:00
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
2000-09-12 11:08:05 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${XFREE86_VERSION} == 4
|
|
|
|
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
|
|
|
|
.endif
|
|
|
|
|
|
|
|
ALL_TARGET= default
|
1998-11-20 20:24:53 +00:00
|
|
|
FONTSDIR= lib/X11/fonts/local
|
1998-04-24 05:37:15 +00:00
|
|
|
MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}"
|
1998-11-20 20:24:53 +00:00
|
|
|
MAKE_ARGS= TARGETDIR="${PREFIX}/${FONTSDIR}"
|
|
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
1998-11-20 15:14:56 +00:00
|
|
|
|
|
|
|
pre-install:
|
1998-11-20 20:24:53 +00:00
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} \
|
2000-10-08 10:23:48 +00:00
|
|
|
${SH} ${PKGREQ} ${PKGNAME} INSTALL
|
1998-04-22 14:19:09 +00:00
|
|
|
|
|
|
|
post-install:
|
1998-11-20 20:24:53 +00:00
|
|
|
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
|
1998-04-22 14:19:09 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/kappa20
|
|
|
|
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README ${PREFIX}/share/doc/kappa20/
|
1998-11-20 15:14:56 +00:00
|
|
|
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/pcf/fonts.alias.kappa ${PREFIX}/share/doc/kappa20/
|
1998-04-22 14:19:09 +00:00
|
|
|
.endif
|
|
|
|
|
2000-09-12 11:08:05 +00:00
|
|
|
.include <bsd.port.post.mk>
|