aboutsummaryrefslogtreecommitdiff
path: root/graphics/libflash
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-10-25 22:48:23 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-10-25 22:48:23 +0000
commit79b850817d0c9829a49e792a62fbb54d88acc3ee (patch)
treeb0f2aff7c5748e687c2eb5d3827262e4e53e2ef7 /graphics/libflash
parenta7b7083efb58615d5db8356171308f902f9cb5ab (diff)
downloadports-79b850817d0c9829a49e792a62fbb54d88acc3ee.tar.gz
ports-79b850817d0c9829a49e792a62fbb54d88acc3ee.zip
Notes
Diffstat (limited to 'graphics/libflash')
-rw-r--r--graphics/libflash/Makefile20
-rw-r--r--graphics/libflash/distinfo4
-rw-r--r--graphics/libflash/files/Makefile2
-rw-r--r--graphics/libflash/files/patch-ai24
-rw-r--r--graphics/libflash/files/patch-shape.cc10
-rw-r--r--graphics/libflash/pkg-descr2
6 files changed, 31 insertions, 31 deletions
diff --git a/graphics/libflash/Makefile b/graphics/libflash/Makefile
index e0dc47525ba7..26202a8e99c1 100644
--- a/graphics/libflash/Makefile
+++ b/graphics/libflash/Makefile
@@ -6,21 +6,23 @@
#
PORTNAME= libflash
-PORTVERSION= 0.4.10
+PORTVERSION= 0.4.12
CATEGORIES= graphics
-MASTER_SITES= http://www.swift-tools.net/Flash/
-DISTNAME= flash-${PORTVERSION}
-EXTRACT_SUFX= .tgz
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gplflash
+DISTNAME= gplflash-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GPL Flash (TM) Library
-LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \
+ jpeg.9:${PORTSDIR}/graphics/jpeg
-WRKSRC= ${WRKDIR}/${DISTNAME}/Lib
-MAKE_ARGS= NOPROFILE=true
+WRKSRC= ${WRKDIR}/${DISTNAME}/lib
-pre-build:
- ${CP} ${FILESDIR}/Makefile ${WRKSRC}/
+USE_BZIP2= yes
+INSTALLS_SHLIB= yes
+MAKEFILE= ${FILESDIR}/Makefile
+MAKE_ARGS= NOPROFILE=true
.include <bsd.port.mk>
diff --git a/graphics/libflash/distinfo b/graphics/libflash/distinfo
index 7d51a977af73..9343a34ff8a0 100644
--- a/graphics/libflash/distinfo
+++ b/graphics/libflash/distinfo
@@ -1,2 +1,2 @@
-MD5 (flash-0.4.10.tgz) = 1473f085c599d8076fa866cd91e11598
-SIZE (flash-0.4.10.tgz) = 358995
+MD5 (gplflash-0.4.12.tar.bz2) = 7d53803486b255665a80cd834ee3c463
+SIZE (gplflash-0.4.12.tar.bz2) = 378727
diff --git a/graphics/libflash/files/Makefile b/graphics/libflash/files/Makefile
index e758fc453271..93851f4dc06a 100644
--- a/graphics/libflash/files/Makefile
+++ b/graphics/libflash/files/Makefile
@@ -7,7 +7,7 @@ CXXFLAGS+= -fno-rtti -DXP_UNIX \
-I${LOCALBASE}/include \
-DCHECK_TEXT_PLAIN
LDADD= -lz \
- -L${LOCALBASE}/lib -ljpeg
+ -L${LOCALBASE}/lib -ljpeg -lmad
SRCS= adpcm.cc bitmap.cc button.cc character.cc cxform.cc \
displaylist.cc flash.cc font.cc graphic.cc graphic16.cc \
graphic24.cc graphic32.cc matrix.cc movie.cc \
diff --git a/graphics/libflash/files/patch-ai b/graphics/libflash/files/patch-ai
index 70e02ad690c1..8036f800a439 100644
--- a/graphics/libflash/files/patch-ai
+++ b/graphics/libflash/files/patch-ai
@@ -1,15 +1,23 @@
---- sound.cc.orig Thu Sep 2 00:10:03 1999
-+++ sound.cc Wed Jul 24 06:04:56 2002
-@@ -26,7 +26,12 @@
- #include <fcntl.h>
- #include <sys/ioctl.h>
+--- sound.cc.orig Sat Oct 16 03:16:19 2004
++++ sound.cc Sat Oct 23 17:44:05 2004
+@@ -20,7 +20,7 @@
+ // Author : Olivier Debon <odebon@club-internet.fr>
+ //
+
+-#if ! defined(__linux__)
++#if ! defined(__linux__) && ! defined(__FreeBSD__)
+ #warning no sound support for your OS in lib/sound.cc
+ #define NOSOUND
+ #endif
+@@ -33,6 +33,11 @@
#ifndef NOSOUND
+ #ifdef __linux__
+ #include <linux/soundcard.h>
++#else
+#ifdef __FreeBSD__
+#include <sys/param.h>
+#include <sys/soundcard.h>
-+#else
- #include <linux/soundcard.h>
+#endif
#endif
+ #endif
- #ifdef RCSID
diff --git a/graphics/libflash/files/patch-shape.cc b/graphics/libflash/files/patch-shape.cc
deleted file mode 100644
index 7e063c0084b1..000000000000
--- a/graphics/libflash/files/patch-shape.cc
+++ /dev/null
@@ -1,10 +0,0 @@
---- shape.cc.orig Fri Jul 12 07:55:33 2002
-+++ shape.cc Fri Jul 12 07:56:13 2002
-@@ -21,6 +21,7 @@
- //
-
- #include "swf.h"
-+#include <math.h>
-
- #ifdef RCSID
- static char *rcsid = "$Id: shape.cc,v 1.5 1999/09/10 13:08:52 ode Exp $";
diff --git a/graphics/libflash/pkg-descr b/graphics/libflash/pkg-descr
index 8a227d095de9..f78e1fe5e0ed 100644
--- a/graphics/libflash/pkg-descr
+++ b/graphics/libflash/pkg-descr
@@ -5,4 +5,4 @@ The core of the library is a graphic renderer that is portable is to
be reused in applications that need to play Flash (TM) movies.
Author: Olivier Debon <olivier@debon.net>
-WWW: http://www.swift-tools.net/Flash/
+WWW: http://gplflash.sourceforge.net/