summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-05-20 23:30:54 +0000
committerlioux <lioux@FreeBSD.org>2002-05-20 23:30:54 +0000
commit3902f9d716b9318c9036a6672b411e4a47cbc269 (patch)
tree8a19398830720eeff60bb2084ee27502b857a269 /graphics
parent4df6450ebd45f9f5ce9a8221d86cff5627eb106e (diff)
downloadFreeBSD-ports-3902f9d716b9318c9036a6672b411e4a47cbc269.zip
FreeBSD-ports-3902f9d716b9318c9036a6672b411e4a47cbc269.tar.gz
Update to 0.1.3
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libmovtar/Makefile11
-rw-r--r--graphics/libmovtar/distinfo3
-rw-r--r--graphics/libmovtar/files/patch-Makefile.in15
-rw-r--r--graphics/libmovtar/files/patch-configure.in24
-rw-r--r--graphics/libmovtar/files/patch-movtar.c10
-rw-r--r--graphics/libmovtar/files/patch-movtar_play.c13
-rw-r--r--graphics/libmovtar/files/patch-tar.c10
-rw-r--r--graphics/libmovtar/pkg-plist2
8 files changed, 12 insertions, 76 deletions
diff --git a/graphics/libmovtar/Makefile b/graphics/libmovtar/Makefile
index 8919ed5..13f32bb 100644
--- a/graphics/libmovtar/Makefile
+++ b/graphics/libmovtar/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libmovtar
-PORTVERSION= 0.1.2
+PORTVERSION= 0.1.3
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mjpeg
@@ -17,7 +17,6 @@ LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 \
jpeg.9:${PORTSDIR}/graphics/jpeg
USE_GTK= yes
-USE_AUTOCONF= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-m4data-prefix=${PREFIX}/share
@@ -28,4 +27,12 @@ MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
+post-patch:
+ @${PERL} -pi -e 's|SDL/|SDL11/|' \
+ ${WRKSRC}/rtjpeg/rtjshow.c \
+ ${WRKSRC}/movtar_play.c
+ @${PERL} -pi -e 's|^(LIBS="-ljpeg )|\1 -L${LOCALBASE}/lib|; \
+ s|(LIBS -ljpeg)"|\1 -L${LOCALBASE}/lib"|' \
+ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+
.include <bsd.port.mk>
diff --git a/graphics/libmovtar/distinfo b/graphics/libmovtar/distinfo
index 7018690..0634b8d 100644
--- a/graphics/libmovtar/distinfo
+++ b/graphics/libmovtar/distinfo
@@ -1,2 +1 @@
-MD5 (libmovtar-0.1.2.tar.gz) = 852566413e625bb2b089db72a5fabce9
-MD5 (jpeg-mmx-1.1.2.tar.gz) = 63d871b28cb1524b4cf088155688778d
+MD5 (libmovtar-0.1.3.tar.gz) = 3810ba83a90c52676014ab1ea6d8cd9f
diff --git a/graphics/libmovtar/files/patch-Makefile.in b/graphics/libmovtar/files/patch-Makefile.in
deleted file mode 100644
index 47614fc..0000000
--- a/graphics/libmovtar/files/patch-Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
---- Makefile.in.orig Fri Nov 16 01:35:11 2001
-+++ Makefile.in Fri Nov 16 01:35:38 2001
-@@ -79,10 +79,10 @@
- bin_SCRIPTS = movtar-config
- lib_LIBRARIES = libmovtar.a
- libmovtar_a_SOURCES = movtar.c tar.c
--INCLUDES = @GLIB_CFLAGS@ @JPEG_INCLUDE@
-+INCLUDES = @GLIB_CFLAGS@ @JPEG_INCLUDE@ -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` ${PTHREAD_CFLAGS}
- include_HEADERS = movtar.h
-
--movtar_play_LDFLAGS = -lSDL -lpthread -ljpeg
-+movtar_play_LDFLAGS = `${SDL_CONFIG} --libs` ${PTHREAD_LIBS} -ljpeg
- movtar_unify_LDFLAGS = -ljpeg
- movtar_yuv422_LDFLAGS = -ljpeg
- LDFLAGS = @GLIB_LIBS@
diff --git a/graphics/libmovtar/files/patch-configure.in b/graphics/libmovtar/files/patch-configure.in
deleted file mode 100644
index ead3caf..0000000
--- a/graphics/libmovtar/files/patch-configure.in
+++ /dev/null
@@ -1,24 +0,0 @@
---- configure.in.orig Wed Feb 7 09:25:06 2001
-+++ configure.in Tue Oct 16 02:23:14 2001
-@@ -56,7 +56,7 @@
- JPEGDIR="$DEFAULT_JPEGDIR")
-
- OLDLIBS="$LIBS"
--LIBS="-L $JPEGDIR $LIBS"
-+LIBS="-L $JPEGDIR $LIBS -L$LOCALBASE/lib"
- AC_SUBST(JPEG_INCLUDE)
-
- AC_CHECK_LIB( jpeg-mmx, jpeg_start_compress,
-@@ -75,10 +75,11 @@
- dnl If that can't be found fall back to the system jpeg lib...
- if test ${have_jpeg} = "no"
- then
-+LIBS="$LIBS -L$LOCALBASE/lib"
- AC_CHECK_LIB( jpeg, jpeg_start_compress,
- [
- have_jpeg="yes"
-- LIBS="$LIBS -ljpeg"
-+ LIBS="$LIBS -L$LOCALBASE/lib -ljpeg"
- ],
- [
- have_jpeg="no"
diff --git a/graphics/libmovtar/files/patch-movtar.c b/graphics/libmovtar/files/patch-movtar.c
deleted file mode 100644
index 1905b86..0000000
--- a/graphics/libmovtar/files/patch-movtar.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- movtar.c.orig Tue Oct 16 00:02:46 2001
-+++ movtar.c Tue Oct 16 00:03:25 2001
-@@ -40,7 +40,6 @@
- #include <tar.h>
- #include <glib.h>
- #include <sys/types.h>
--#include <linux/types.h>
-
- #include "movtar.h"
-
diff --git a/graphics/libmovtar/files/patch-movtar_play.c b/graphics/libmovtar/files/patch-movtar_play.c
deleted file mode 100644
index 35dd50a..0000000
--- a/graphics/libmovtar/files/patch-movtar_play.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- movtar_play.c.orig Tue Oct 16 00:22:46 2001
-+++ movtar_play.c Tue Oct 16 00:25:12 2001
-@@ -9,8 +9,8 @@
- #include <signal.h>
- #include <string.h>
-
--#include <SDL/SDL.h>
--#include <SDL/SDL_timer.h>
-+#include <SDL11/SDL.h>
-+#include <SDL11/SDL_timer.h>
-
- #define JPEG_INTERNALS
- #include <jinclude.h>
diff --git a/graphics/libmovtar/files/patch-tar.c b/graphics/libmovtar/files/patch-tar.c
deleted file mode 100644
index 3943c45..0000000
--- a/graphics/libmovtar/files/patch-tar.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- tar.c.orig Tue Oct 16 00:03:05 2001
-+++ tar.c Tue Oct 16 00:03:09 2001
-@@ -16,7 +16,6 @@
- #include <glib.h>
-
- #include <sys/types.h>
--#include <linux/types.h>
-
- #include "movtar.h"
-
diff --git a/graphics/libmovtar/pkg-plist b/graphics/libmovtar/pkg-plist
index c155a90..3f5456d 100644
--- a/graphics/libmovtar/pkg-plist
+++ b/graphics/libmovtar/pkg-plist
@@ -5,6 +5,8 @@ bin/movtar_setinfo
bin/movtar_split
bin/movtar_unify
bin/movtar_yuv422
+bin/pnm2rtj
+bin/rtjshow
include/movtar.h
lib/libmovtar.a
share/aclocal/movtar.m4
OpenPOWER on IntegriCloud