aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-04-21 19:40:38 +0800
committersem <sem@FreeBSD.org>2005-04-21 19:40:38 +0800
commit24bef57523056955dd83d6de9766ba9e53bedd8a (patch)
tree4f8767bcb8b789b7bcff2df8b74a19c43a285fd7
parent96dc531fef5fd93dd07e54a4583e9405bd06400e (diff)
downloadfreebsd-ports-gnome-24bef57523056955dd83d6de9766ba9e53bedd8a.tar.gz
freebsd-ports-gnome-24bef57523056955dd83d6de9766ba9e53bedd8a.tar.zst
freebsd-ports-gnome-24bef57523056955dd83d6de9766ba9e53bedd8a.zip
- Unbreak
- Pass maintainership to submitter PR: ports/80168 Submitted by: Renato Botelho <freebsd@galle.com.br>
-rw-r--r--print/perlftlib/Makefile20
-rw-r--r--print/perlftlib/files/patch-FreeType_FreeType.xs (renamed from print/perlftlib/files/patch-ab)0
-rw-r--r--print/perlftlib/files/patch-FreeType_Makefile.PL (renamed from print/perlftlib/files/patch-ac)0
-rw-r--r--print/perlftlib/files/patch-Makefile (renamed from print/perlftlib/files/patch-aa)10
-rw-r--r--print/perlftlib/pkg-plist2
5 files changed, 12 insertions, 20 deletions
diff --git a/print/perlftlib/Makefile b/print/perlftlib/Makefile
index acb1467a296e..0bf9587556b8 100644
--- a/print/perlftlib/Makefile
+++ b/print/perlftlib/Makefile
@@ -13,12 +13,10 @@ MASTER_SITES= http://www.io.com/~kazushi/xtt/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= sada
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= freebsd@galle.com.br
COMMENT= Libraries to use the FreeType library from the perl language
-RUN_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/jcode.pl:${PORTSDIR}/japanese/jcode.pl
-
-BROKEN= Installs perllocal.pod
+RUN_DEPENDS= ${SITE_PERL}/jcode.pl:${PORTSDIR}/japanese/jcode.pl
USE_FREETYPE= yes
USE_PERL5= yes
@@ -30,17 +28,11 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
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
+ @${PERL} -pi -e 's!/usr/local/X11R6.3!${PREFIX}!' ${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
+.for DIST in ftinfo mkttfdir
+ @${PERL} -pi -e 's;^#! */usr/local/bin/perl *;#!${PERL5};' ${WRKSRC}/${DIST}
+.endfor
.include <bsd.port.mk>
diff --git a/print/perlftlib/files/patch-ab b/print/perlftlib/files/patch-FreeType_FreeType.xs
index eab15e5f0ec6..eab15e5f0ec6 100644
--- a/print/perlftlib/files/patch-ab
+++ b/print/perlftlib/files/patch-FreeType_FreeType.xs
diff --git a/print/perlftlib/files/patch-ac b/print/perlftlib/files/patch-FreeType_Makefile.PL
index 9ff7ad62040c..9ff7ad62040c 100644
--- a/print/perlftlib/files/patch-ac
+++ b/print/perlftlib/files/patch-FreeType_Makefile.PL
diff --git a/print/perlftlib/files/patch-aa b/print/perlftlib/files/patch-Makefile
index 239c351c40db..37ff19d2b249 100644
--- a/print/perlftlib/files/patch-aa
+++ b/print/perlftlib/files/patch-Makefile
@@ -1,5 +1,5 @@
---- ./Makefile.orig Mon Dec 14 14:13:26 1998
-+++ ./Makefile Tue Dec 22 16:14:46 1998
+--- 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
@@ -24,11 +24,13 @@
rm -f $(MANDIR)/ftinfo.1
ln -s $(BINDIR)/ftinfo $(MANDIR)/ftinfo.1
rm -f $(MANDIR)/mkttfdir.1
-@@ -43,7 +45,7 @@
+@@ -42,8 +44,8 @@
+ cp $? $@
installlib: $(FREETYPELIB)
- cd FreeType; $(MAKE) $(MFLAGS) install
+- cd FreeType; $(MAKE) $(MFLAGS) install
- cp FreeTypeWrapper.pm $(PERLLIBDIR)
++ cd FreeType; $(MAKE) $(MFLAGS) pure_install
+ cp FreeTypeWrapper.pm $(PERLLIBDIR)/${PERL_VER}
$(FREETYPELIB): FreeType/Makefile
diff --git a/print/perlftlib/pkg-plist b/print/perlftlib/pkg-plist
index 05d9a4e36ff4..014da54bc4d2 100644
--- a/print/perlftlib/pkg-plist
+++ b/print/perlftlib/pkg-plist
@@ -6,6 +6,4 @@ bin/ftinfo
%%SITE_PERL%%/%%PERL_ARCH%%/auto/FreeType/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/FreeType/autosplit.ix
%%SITE_PERL%%/%%PERL_ARCH%%/FreeType.pm
-@comment I do not know how to treat the next files
-@comment lib/perl5/%%PERL_VERSION%%/i386-freebsd/perllocal.pod
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/FreeType