blob: 483a2e2ff93734b759835fd6c217fe2e35bbb032 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# New ports collection makefile for: kappafont
# Date created: 8 Oct 1998
# Whom: Kawaguti Ginga <ginga@athena.club.ne.jp>
#
# $FreeBSD$
#
PORTNAME= kappa20
PORTVERSION= 0.394
PORTREVISION= 1
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://kappa.allnet.ne.jp/20dot.fonts/
DISTNAME= Kappa20-${PORTVERSION}
MAINTAINER= ginga@athena.club.ne.jp
USE_X_PREFIX= yes
USE_BZIP2= yes
BUILD_DEPENDS= mkitalic:${PORTSDIR}/x11-fonts/mkitalic
.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= INSTALL_DATA="${INSTALL_DATA}"
MAKE_ARGS= FONTSDIR="${FONTSDIR}"
PLIST_SUB= FONTSDIR=${FONTSDIR}
post-extract:
(cd ${WRKSRC} ; ${MV} Makefile Makefile.dist)
${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile
pre-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGREQ} ${PKGNAME} INSTALL
post-install:
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/ja/${PORTNAME}
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README ${PREFIX}/share/doc/ja/${PORTNAME}/README.euc-jp
# @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
# @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/pcf/fonts.alias.kappa ${PREFIX}/share/doc/${PORTNAME}/
.endif
.include <bsd.port.post.mk>
|