mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
7fd1792038
- Pass maintainership to submitter PR: ports/80168 Submitted by: Renato Botelho <freebsd@galle.com.br>
38 lines
960 B
Plaintext
38 lines
960 B
Plaintext
--- Makefile.orig Mon Dec 14 02:13:26 1998
|
|
+++ Makefile Wed Apr 20 16:31:11 2005
|
|
@@ -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
|
|
@@ -42,8 +44,8 @@
|
|
cp $? $@
|
|
|
|
installlib: $(FREETYPELIB)
|
|
- cd FreeType; $(MAKE) $(MFLAGS) install
|
|
- cp FreeTypeWrapper.pm $(PERLLIBDIR)
|
|
+ cd FreeType; $(MAKE) $(MFLAGS) pure_install
|
|
+ cp FreeTypeWrapper.pm $(PERLLIBDIR)/${PERL_VER}
|
|
|
|
$(FREETYPELIB): FreeType/Makefile
|
|
cd FreeType; $(MAKE) $(MFLAGS)
|