blob: 44dab58f9f3dc1e76b79aa2d2a8c15f0d3596d80 (
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
|
# New ports collection makefile for: addttfont
# Date created: 99/06/15
# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= addttfont
PORTVERSION= 1.10
CATEGORIES= japanese perl5
MASTER_SITES= http://ftp.infonets.hiroshima-u.ac.jp/~taoka/FreeBSD/tt/
EXTRACT_SUFX= # none
MAINTAINER= taoka@FreeBSD.org
BROKEN= "Broken dependency"
RUN_DEPENDS= mkres.pl:${PORTSDIR}/japanese/p5-mkres \
VTPSfont:${PORTSDIR}/japanese/VTPSfont \
${X11BASE}/lib/X11/ja_JP.EUC/app-defaults/Tgif:${PORTSDIR}/japanese/tgif
# ${PREFIX}/share/ghostscript/5.50vflib/Fontmap:${PORTSDIR}/japanese/vfghostscript5
# or
# ${PREFIX}/share/ghostscript/5.10vflib/Fontmap:${PORTSDIR}/japanese/vfghostscript55
USE_PERL5= yes
NO_WRKSUBDIR= yes
VFLIB_VERSION= 2.25.6
do-extract:
${RM} -rf ${WRKDIR}
${MKDIR} ${WRKDIR}
for file in ${DISTFILES}; do \
${CP} ${DISTDIR}/${DIST_SUBDIR}/$${file} ${WRKSRC}; \
done
do-build:
cd ${WRKSRC}; ${MV} ${DISTNAME} ${DISTNAME}.orig; \
${SED} -e 's;^#! */usr/bin/perl *;#!${PERL5};' \
-e 's;/share/VFlib/2.25.2/vfontcap;/share/VFlib/${VFLIB_VERSION}/vfontcap;' \
${DISTNAME}.orig > ${DISTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
${PREFIX}/bin/addttfont
.include <bsd.port.mk>
|