1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Unbreak

- Pass maintainership to submitter

PR:		ports/80168
Submitted by:	Renato Botelho <freebsd@galle.com.br>
This commit is contained in:
Sergey Matveychuk 2005-04-21 11:40:38 +00:00
parent c0ffd066b7
commit 7fd1792038
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133833
5 changed files with 12 additions and 20 deletions

View File

@ -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>

View File

@ -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

View File

@ -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