aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libmpeg2/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-01-02 13:03:52 +0800
committerlioux <lioux@FreeBSD.org>2003-01-02 13:03:52 +0800
commit95eba41fa1c6f7935e539e69524e51f665a8ebe0 (patch)
tree67270e7e16f977ecfbff1b560159a7f49ed1db51 /multimedia/libmpeg2/Makefile
parentb0bbb14df19ef3ac8c72b0274450fe773d6793ff (diff)
downloadfreebsd-ports-gnome-95eba41fa1c6f7935e539e69524e51f665a8ebe0.tar.gz
freebsd-ports-gnome-95eba41fa1c6f7935e539e69524e51f665a8ebe0.tar.zst
freebsd-ports-gnome-95eba41fa1c6f7935e539e69524e51f665a8ebe0.zip
Update to 0.3.1
Diffstat (limited to 'multimedia/libmpeg2/Makefile')
-rw-r--r--multimedia/libmpeg2/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/multimedia/libmpeg2/Makefile b/multimedia/libmpeg2/Makefile
index 04c3d2bf02ae..f54fb7699220 100644
--- a/multimedia/libmpeg2/Makefile
+++ b/multimedia/libmpeg2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libmpeg2
-PORTVERSION= 0.2.1
-PORTREVISION= 1
+PORTVERSION= 0.3.1
CATEGORIES= multimedia
MASTER_SITES= http://libmpeg2.sourceforge.net/files/
DISTNAME= mpeg2dec-${PORTVERSION}
@@ -18,7 +17,10 @@ USE_XLIB= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
-CONFIGURE_ARGS= --enable-shared
+CONFIGURE_ARGS= --enable-shared \
+ --with-x
+
+MAN1= extract_mpeg2.1 mpeg2dec.1
.ifdef(WITH_MGA)
CONFIGURE_ARGS+= --enable-mga
@@ -49,15 +51,8 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e 's|<SDL/|<SDL11/|' ${WRKSRC}/libvo/*
@${REINPLACE_CMD} -e 's|-O3||;s|<termio.h>|<termios.h>|' ${WRKSRC}/configure
-
-post-configure:
- @${CP} -f ${LOCALBASE}/bin/libtool ${WRKSRC}
- @${CHMOD} u+w ${WRKSRC}/libtool
-# Libtool fix code kindly provided by Mr. Maxim Sobolev <sobomax@FreeBSD.org>
- @${REINPLACE_CMD} -E \
- -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|; \
- s|(install_ltlibs=)yes|\1no|' \
- ${WRKSRC}/libtool
+ @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
+ ${WRKSRC}/libmpeg2/Makefile.in
post-install:
.ifndef(NOPORTDOCS)
@@ -65,5 +60,7 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/libvo.txt ${DOCSDIR}
.endif
@${INSTALL_DATA} ${WRKSRC}/libvo/libvo.a ${PREFIX}/lib
+ @${INSTALL_DATA} ${WRKSRC}/include/video_out.h \
+ ${PREFIX}/include/mpeg2dec
.include <bsd.port.mk>