2013-10-11 23:48:03 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2013/10/11 23:49:49 naddy Exp $
|
2003-07-19 18:18:07 +00:00
|
|
|
|
2007-09-15 20:09:40 +00:00
|
|
|
COMMENT= free MPEG-2 video stream decoder
|
2008-02-02 01:02:56 +00:00
|
|
|
|
2008-09-23 00:44:17 +00:00
|
|
|
DISTNAME= libmpeg2-0.5.1
|
2011-11-02 09:57:21 +00:00
|
|
|
REVISION = 1
|
2008-09-23 00:44:17 +00:00
|
|
|
SHARED_LIBS= mpeg2 0.1 \
|
2006-01-08 00:29:37 +00:00
|
|
|
mpeg2convert 0.0
|
2003-07-19 18:18:07 +00:00
|
|
|
CATEGORIES= graphics x11
|
2004-04-18 00:41:03 +00:00
|
|
|
MASTER_SITES= ${HOMEPAGE}files/
|
2003-07-19 18:18:07 +00:00
|
|
|
|
|
|
|
HOMEPAGE= http://libmpeg2.sourceforge.net/
|
|
|
|
|
2008-09-23 00:44:17 +00:00
|
|
|
# GPLv2+
|
2003-07-19 18:18:07 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2011-11-02 09:57:21 +00:00
|
|
|
WANTLIB= ICE SM X11 Xext Xv c xcb
|
2003-07-19 18:18:07 +00:00
|
|
|
|
2008-09-23 00:44:17 +00:00
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.61
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2010-09-26 13:40:11 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2008-09-23 00:44:17 +00:00
|
|
|
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
|
|
|
|
--disable-sdl
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/.auto
|
|
|
|
|
2013-03-11 11:10:51 +00:00
|
|
|
NO_TEST= Yes
|
2008-09-23 00:44:17 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libmpeg2
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/libmpeg2.txt \
|
|
|
|
${PREFIX}/share/doc/libmpeg2
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
|
|
${PREFIX}/share/doc/libmpeg2
|
2003-07-19 18:18:07 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|