openbsd-ports/graphics/libmpeg2/Makefile

37 lines
906 B
Makefile
Raw Normal View History

2006-01-07 19:29:37 -05:00
# $OpenBSD: Makefile,v 1.7 2006/01/08 00:29:37 steven Exp $
COMMENT= "free MPEG-2 video stream decoder"
2004-04-17 20:41:03 -04:00
DISTNAME= mpeg2dec-0.4.0b
2005-12-28 08:09:38 -05:00
PKGNAME= ${DISTNAME:S/mpeg2dec/libmpeg2/}p0
2006-01-07 19:29:37 -05:00
SHARED_LIBS= mpeg2 0.0 \
mpeg2convert 0.0
CATEGORIES= graphics x11
2004-04-17 20:41:03 -04:00
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
2004-11-29 20:06:33 -05:00
WANTLIB= X11 Xext Xv
USE_X11= Yes
2005-12-28 08:09:38 -05:00
USE_LIBTOOL= Yes
BUILD_DEPENDS= :pkgconfig->=0.12.0p1:devel/pkgconfig
2004-04-17 20:41:03 -04:00
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
2004-08-01 17:19:17 -04:00
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autotools
.include <bsd.port.mk>