freebsd-ports/print/perlftlib/Makefile
Ade Lovett 7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00

45 lines
1.1 KiB
Makefile

# 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= http://www.io.com/~kazushi/xtt/ \
${MASTER_SITE_PORTS_JP} \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= sada
MAINTAINER= taoka@FreeBSD.org
COMMENT= Libraries to use the FreeType library from the perl language
RUN_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/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}
pre-patch:
${MV} ${WRKSRC}/FreeType/Makefile.PL ${WRKSRC}/FreeType/Makefile.PL.bak
${SED} 's,/usr/local/X11R6.3,${PREFIX},' \
${WRKSRC}/FreeType/Makefile.PL.bak \
> ${WRKSRC}/FreeType/Makefile.PL
post-build:
cd ${WRKSRC}; \
for DIST in ftinfo mkttfdir; do \
${MV} $${DIST} $${DIST}.bak; \
${SED} -e 's;^#! */usr/local/bin/perl *;#!${PERL5};' \
$${DIST}.bak > $${DIST}; \
done
.include <bsd.port.mk>