blob: 6bf2e0f929fd171f8afad028c8726c08cf9ca66d (
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
|
# New ports collection makefile for: mkres.pl
# Date created: 29 Jun 1998
# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mkres
PORTVERSION= 1.6
CATEGORIES= japanese perl5
MASTER_SITES= http://ftp.infonets.hiroshima-u.ac.jp/~taoka/FreeBSD/tt/
EXTRACT_SUFX= # none
DISTNAME= ${PORTNAME}.pl-${PORTVERSION}
MAINTAINER= taoka@FreeBSD.org
COMMENT= Create resources for tgif, vfontcap, .., for Japanese TrueType fonts
RUN_DEPENDS= mkttfdir:${PORTSDIR}/print/perlftlib
USE_PERL5= yes
NO_WRKSUBDIR= yes
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
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};' \
${DISTNAME}.orig > ${DISTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
${PREFIX}/bin/mkres.pl
.include <bsd.port.post.mk>
|