aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2007-02-06 00:13:14 +0800
committerijliao <ijliao@FreeBSD.org>2007-02-06 00:13:14 +0800
commit0393a7b7d24a70804212db3551a138bf37178a17 (patch)
treefd29824cf8b52d7e05843ae670c70986221daadf /graphics
parenta452ff665c3a09d7712aac680eeeb3318c892042 (diff)
downloadfreebsd-ports-graphics-0393a7b7d24a70804212db3551a138bf37178a17.tar.gz
freebsd-ports-graphics-0393a7b7d24a70804212db3551a138bf37178a17.tar.zst
freebsd-ports-graphics-0393a7b7d24a70804212db3551a138bf37178a17.zip
upgrade to 0.8.0
Diffstat (limited to 'graphics')
-rw-r--r--graphics/swftools/Makefile29
-rw-r--r--graphics/swftools/distinfo6
-rw-r--r--graphics/swftools/files/patch-Makefile.in17
3 files changed, 10 insertions, 42 deletions
diff --git a/graphics/swftools/Makefile b/graphics/swftools/Makefile
index e8ac8d99dab..1589e306c4b 100644
--- a/graphics/swftools/Makefile
+++ b/graphics/swftools/Makefile
@@ -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>
diff --git a/graphics/swftools/distinfo b/graphics/swftools/distinfo
index 35f584bc7bb..ac2b490da98 100644
--- a/graphics/swftools/distinfo
+++ b/graphics/swftools/distinfo
@@ -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
diff --git a/graphics/swftools/files/patch-Makefile.in b/graphics/swftools/files/patch-Makefile.in
deleted file mode 100644
index 565b6085aec..00000000000
--- a/graphics/swftools/files/patch-Makefile.in
+++ /dev/null
@@ -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