33 lines
819 B
Makefile
33 lines
819 B
Makefile
# $OpenBSD: Makefile,v 1.4 2004/08/01 21:19:17 naddy Exp $
|
|
|
|
COMMENT= "free MPEG-2 video stream decoder"
|
|
DISTNAME= mpeg2dec-0.4.0b
|
|
PKGNAME= ${DISTNAME:S/mpeg2dec/libmpeg2/}
|
|
CATEGORIES= graphics x11
|
|
MASTER_SITES= ${HOMEPAGE}files/
|
|
|
|
HOMEPAGE= http://libmpeg2.sourceforge.net/
|
|
|
|
MAINTAINER= Jolan Luff <jolan@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
USE_X11= Yes
|
|
|
|
BUILD_DEPENDS= :pkgconfig->=0.12.0p1:devel/pkgconfig
|
|
|
|
WRKDIST=${WRKDIR}/mpeg2dec-0.4.0
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
|
|
LIBS="-lX11 -lXext -lXv"
|
|
CONFIGURE_ARGS+=${CONFIGURE_SHARED} --disable-sdl
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autotools
|
|
|
|
.include <bsd.port.mk>
|