1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00

upgrade to 0.8.0

This commit is contained in:
Ying-Chieh Liao 2007-02-05 16:13:14 +00:00
parent 481940a79a
commit c3f521d45b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184283
3 changed files with 10 additions and 42 deletions

View File

@ -7,7 +7,7 @@
#
PORTNAME= swftools
PORTVERSION= 0.7.0
PORTVERSION= 0.8.0
CATEGORIES= graphics
MASTER_SITES= http://www.swftools.org/
@ -21,39 +21,24 @@ LIB_DEPENDS= t1.5:${PORTSDIR}/devel/t1lib \
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
USE_BISON= yes
USE_GNOME= pkgconfig
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= font2swf.1 gif2swf.1 jpeg2swf.1 pdf2swf.1 png2swf.1 \
swfbbox.1 swfc.1 swfcombine.1 swfdump.1 swfextract.1 \
swfstrings.1 wav2swf.1
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
CPPFLAGS= `pkg-config --cflags-only-I fontconfig freetype2` \
-I${LOCALBASE}/include
LDFLAGS= `pkg-config --libs-only-L fontconfig freetype2` \
-L${LOCALBASE}/lib
MAN1= font2swf.1 gif2swf.1 jpeg2swf.1 pdf2swf.1 png2swf.1 \
swfbbox.1 swfc.1 swfcombine.1 swfdump.1 swfextract.1 \
swfstrings.1 wav2swf.1
.if defined(WITH_LAME) || exists(${LOCALBASE}/lib/libmp3lame.a)
LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
.else
CONFIGURE_ARGS+= --disable-lame
.endif
post-patch:
@${REINPLACE_CMD} -e 's| -O | |g ; \
s|/usr/local/include|${LOCALBASE}/include|g ; \
s|/usr/local/lib|${LOCALBASE}/lib|g ; \
s|HAVE_FONTCONFIG_H|HAVE_FONTCONFIG_FONTCONFIG_H|g ; \
s| fontconfig\.h| fontconfig/fontconfig.h|g ; \
s|<fontconfig\.h>|<fontconfig/fontconfig.h>|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|HAVE_FONTCONFIG_H|HAVE_FONTCONFIG_FONTCONFIG_H|g' ${WRKSRC}/config.h.in
@${REINPLACE_CMD} -e \
's|;make|;\$$\(MAKE\)|g' ${WRKSRC}/lib/Makefile.in
@${REINPLACE_CMD} -e \
's|HAVE_FONTCONFIG_H|HAVE_FONTCONFIG_FONTCONFIG_H|g ; \
s|<fontconfig\.h>|<fontconfig/fontconfig.h>|g' ${WRKSRC}/pdf2swf/SWFOutputDev.cc
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (swftools-0.7.0.tar.gz) = 785d905756ada33779f3ad14ff8fd423
SHA256 (swftools-0.7.0.tar.gz) = c8cbba0bf77825a59a2aff4798db399e42a9dcb37883cfc87186e60b286be4bc
SIZE (swftools-0.7.0.tar.gz) = 1667005
MD5 (swftools-0.8.0.tar.gz) = acc720839689fbf75c1b119fd00d555d
SHA256 (swftools-0.8.0.tar.gz) = 2db4d7b88864e81727f8c8b36629749fbeaa5bc3c9ec1d8f74bc4c67837e8948
SIZE (swftools-0.8.0.tar.gz) = 1734013

View File

@ -1,17 +0,0 @@
--- Makefile.in.orig Tue Jul 13 21:32:41 2004
+++ Makefile.in Sun Aug 22 00:26:59 2004
@@ -8,14 +8,10 @@
cd m4;$(MAKE) $@
@echo making $@ in lib...
cd lib;$(MAKE) $@
- @echo making $@ in lib/python...
- cd lib/python;$(MAKE) $@
@echo making $@ in src...
cd src;$(MAKE) $@
@echo making $@ in pdf2swf...
cd pdf2swf;$(MAKE) $@
- @echo making $@ in avi2swf...
- cd avi2swf;$(MAKE) $@
@echo making $@ in swfs...
cd swfs;$(MAKE) $@
@$(MAKE) $@-local