aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libmovtar/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-05-21 07:30:54 +0800
committerlioux <lioux@FreeBSD.org>2002-05-21 07:30:54 +0800
commit3902f9d716b9318c9036a6672b411e4a47cbc269 (patch)
tree8a19398830720eeff60bb2084ee27502b857a269 /multimedia/libmovtar/Makefile
parent4df6450ebd45f9f5ce9a8221d86cff5627eb106e (diff)
downloadfreebsd-ports-gnome-3902f9d716b9318c9036a6672b411e4a47cbc269.tar.gz
freebsd-ports-gnome-3902f9d716b9318c9036a6672b411e4a47cbc269.tar.zst
freebsd-ports-gnome-3902f9d716b9318c9036a6672b411e4a47cbc269.zip
Update to 0.1.3
Diffstat (limited to 'multimedia/libmovtar/Makefile')
-rw-r--r--multimedia/libmovtar/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/multimedia/libmovtar/Makefile b/multimedia/libmovtar/Makefile
index 8919ed57517c..13f32bb4bfd0 100644
--- a/multimedia/libmovtar/Makefile
+++ b/multimedia/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>