blob: 89c24702413521ea13f495772af1efac997c0313 (
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
|
# New ports collection makefile for: perlftlib
# Date created: 98/12/22
# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= perlftlib
PORTVERSION= 1.2
CATEGORIES= print perl5
MASTER_SITES= ${MASTER_SITE_PORTS_JP} \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= sada
MAINTAINER= ports@FreeBSD.org
COMMENT= Libraries to use the FreeType library from the perl language
RUN_DEPENDS= ${SITE_PERL}/jcode.pl:${PORTSDIR}/japanese/jcode.pl
USE_FREETYPE= yes
USE_PERL5= yes
NOMANCOMPRESS= yes
MAN1= mkttfdir.1 ftinfo.1
MAN3= FreeType.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAKE_ENV= PERL_VER=${PERL_VER} PERL5=${PERL5}
post-patch:
.for VAR in LOCALBASE PREFIX
@${PERL} -pi -e 's!%%${VAR}%%!${${VAR}}!g' \
${WRKSRC}/FreeType/Makefile.PL
.endfor
post-build:
.for DIST in ftinfo mkttfdir
@${PERL} -pi -e 's;^#! */usr/local/bin/perl *;#!${PERL5};' \
${WRKSRC}/${DIST}
.endfor
.include <bsd.port.mk>
|