openbsd-ports/graphics/libmpeg2/Makefile

40 lines
970 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.12 2008/09/23 00:44:17 brad Exp $
COMMENT= free MPEG-2 video stream decoder
2008-02-01 20:02:56 -05:00
DISTNAME= libmpeg2-0.5.1
SHARED_LIBS= mpeg2 0.1 \
2006-01-07 19:29:37 -05:00
mpeg2convert 0.0
CATEGORIES= graphics x11
2004-04-17 20:41:03 -04:00
MASTER_SITES= ${HOMEPAGE}files/
HOMEPAGE= http://libmpeg2.sourceforge.net/
# GPLv2+
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= ICE SM X11 Xau Xdmcp Xext Xv c
USE_X11= Yes
2005-12-28 08:09:38 -05:00
USE_LIBTOOL= Yes
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.61
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${WRKBUILD}/libmpeg2/.libs -L${LOCALBASE}/lib"
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--disable-sdl
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/.auto
NO_REGRESS= Yes
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
.include <bsd.port.mk>