mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
6854484cd3
perl language. It contains following pieces. <FreeType.xs> This is a simple caller of the FreeType library. It has same API as the FreeType library, so please read a manual of that to understand how to use this. <FreeTypeWrapper.pm> This is a simple wrapper of FreeType.xs to use the FreeType library from perl with easy, perl-like API. <ftinfo.pl> This is a dumper of a lot of information in each TrueType fonts. This convert them as human readable strings. <mkttfdir.pl> This is a maker of fonts.dir by parsing TTF and TTC fils. It has special handler for DynaLab fonts, so it make good fonts.dir automatically. And it detects what language's fonts are contained in it by looking at code_page_range field in os2 table, so it makes right entries. See also <http://www.io.com/~kazushi/xtt/#perlftlib> Note that ftinfo core-dumps with a signal 11 in case using perl5.00502. :-) Submitted by: Satoshi TAOKA <taoka@infonets.hiroshima-u.ac.jp>
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# New ports collection makefile for: perlftlib
|
|
# Version required: 1.2
|
|
# Date created: 98/12/22
|
|
# Whom: Satoshi TAOKA <taoka@infonets.hiroshima-u.ac.jp>
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
DISTNAME= perlftlib-1.2
|
|
CATEGORIES= print perl5
|
|
MASTER_SITES= ftp://ftp.big.or.jp/pub/usr2/jam/ft/ \
|
|
http://WWW.FreeBSD.ORG/~sada/distfiles/ \
|
|
http://WWW.jp.FreeBSD.ORG/~sada/distfiles/
|
|
|
|
MAINTAINER= taoka@infonets.hiroshima-u.ac.jp
|
|
|
|
LIB_DEPENDS= ttf.3:${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>
|