mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +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>
36 lines
907 B
Plaintext
36 lines
907 B
Plaintext
--- ./Makefile.orig Mon Dec 14 14:13:26 1998
|
|
+++ ./Makefile Tue Dec 22 16:14:46 1998
|
|
@@ -1,8 +1,8 @@
|
|
|
|
-BINDIR = /usr/local/bin
|
|
-MANDIR = /usr/local/man/man1
|
|
-PERL = perl
|
|
-PERLLIBDIR = /usr/local/lib/perl5/site_perl
|
|
+BINDIR = ${PREFIX}/bin
|
|
+MANDIR = ${PREFIX}/man/man1
|
|
+PERL = ${PERL5}
|
|
+PERLLIBDIR = ${PREFIX}/lib/perl5/site_perl
|
|
|
|
VERSION = 1.2
|
|
|
|
@@ -12,7 +12,9 @@
|
|
all: $(FREETYPELIB) $(PROGRAMS) $(MANFILES)
|
|
|
|
install: installlib $(PROGRAMS)
|
|
- cp $(PROGRAMS) $(BINDIR)
|
|
+ for file in $(PROGRAMS); do \
|
|
+ ${BSD_INSTALL_SCRIPT} $${file} $(BINDIR); \
|
|
+ done
|
|
rm -f $(MANDIR)/ftinfo.1
|
|
ln -s $(BINDIR)/ftinfo $(MANDIR)/ftinfo.1
|
|
rm -f $(MANDIR)/mkttfdir.1
|
|
@@ -43,7 +45,7 @@
|
|
|
|
installlib: $(FREETYPELIB)
|
|
cd FreeType; $(MAKE) $(MFLAGS) install
|
|
- cp FreeTypeWrapper.pm $(PERLLIBDIR)
|
|
+ cp FreeTypeWrapper.pm $(PERLLIBDIR)/${PERL_VER}
|
|
|
|
$(FREETYPELIB): FreeType/Makefile
|
|
cd FreeType; $(MAKE) $(MFLAGS)
|