1999-01-01 22:18:54 +00:00
|
|
|
# New ports collection makefile for: perlftlib
|
|
|
|
# Date created: 98/12/22
|
1999-05-01 04:03:48 +00:00
|
|
|
# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
|
1999-01-01 22:18:54 +00:00
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1999-01-01 22:18:54 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 17:50:59 +00:00
|
|
|
PORTNAME= perlftlib
|
|
|
|
PORTVERSION= 1.2
|
1999-01-01 22:18:54 +00:00
|
|
|
CATEGORIES= print perl5
|
|
|
|
MASTER_SITES= ftp://ftp.big.or.jp/pub/usr2/jam/ft/ \
|
1999-03-31 16:41:31 +00:00
|
|
|
${MASTER_SITE_PORTS_JP} \
|
2000-02-08 09:29:51 +00:00
|
|
|
http://people.FreeBSD.org/~sada/distfiles/
|
1999-01-01 22:18:54 +00:00
|
|
|
|
1999-05-01 04:03:48 +00:00
|
|
|
MAINTAINER= taoka@FreeBSD.org
|
1999-01-01 22:18:54 +00:00
|
|
|
|
1999-11-25 03:41:57 +00:00
|
|
|
LIB_DEPENDS= ttf.4:${PORTSDIR}/print/freetype
|
1999-01-01 22:18:54 +00:00
|
|
|
RUN_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/jcode.pl:${PORTSDIR}/japanese/p5-jcode.pl
|
|
|
|
|
|
|
|
USE_PERL5= yes
|
|
|
|
NOMANCOMPRESS= yes
|
|
|
|
MAN1= mkttfdir.1 ftinfo.1
|
|
|
|
|
|
|
|
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>
|