35 lines
807 B
Makefile
35 lines
807 B
Makefile
# $OpenBSD: Makefile,v 1.25 2019/07/12 20:47:02 sthen Exp $
|
|
|
|
COMMENT= free MPEG-2 video stream decoder
|
|
|
|
DISTNAME= libmpeg2-0.5.1
|
|
REVISION= 3
|
|
SHARED_LIBS= mpeg2 0.1 \
|
|
mpeg2convert 0.0
|
|
CATEGORIES= graphics x11
|
|
MASTER_SITES= ${HOMEPAGE}files/
|
|
|
|
HOMEPAGE= http://libmpeg2.sourceforge.net/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE= Yes
|
|
WANTLIB= ICE SM X11 Xext Xv c xcb
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
AUTOCONF_VERSION= 2.61
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS+=--disable-sdl
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/.auto
|
|
|
|
NO_TEST= 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>
|