1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/print/perlftlib/Makefile
Peter Wemm 02c5b6c7c6 Change all www.freebsd.org/~user references to people.FreeBSD.org/~user,
as the days of the former are numbered.

Reviewed by:	asami
2000-02-08 09:29:51 +00:00

41 lines
1.0 KiB
Makefile

# New ports collection makefile for: perlftlib
# Version required: 1.2
# Date created: 98/12/22
# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
#
# $FreeBSD$
#
DISTNAME= perlftlib-1.2
CATEGORIES= print perl5
MASTER_SITES= ftp://ftp.big.or.jp/pub/usr2/jam/ft/ \
${MASTER_SITE_PORTS_JP} \
http://people.FreeBSD.org/~sada/distfiles/
MAINTAINER= taoka@FreeBSD.org
LIB_DEPENDS= ttf.4:${PORTSDIR}/print/freetype
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>