33 lines
780 B
Makefile
33 lines
780 B
Makefile
# $OpenBSD: Makefile,v 1.11 2008/02/02 01:02:56 jolan Exp $
|
|
|
|
COMMENT= free MPEG-2 video stream decoder
|
|
|
|
DISTNAME= mpeg2dec-0.4.1
|
|
PKGNAME= ${DISTNAME:S/mpeg2dec/libmpeg2/}
|
|
SHARED_LIBS= mpeg2 0.0 \
|
|
mpeg2convert 0.0
|
|
CATEGORIES= graphics x11
|
|
MASTER_SITES= ${HOMEPAGE}files/
|
|
|
|
HOMEPAGE= http://libmpeg2.sourceforge.net/
|
|
|
|
# GPL
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
WANTLIB= X11 Xau Xdmcp Xext Xv
|
|
|
|
USE_X11= Yes
|
|
USE_LIBTOOL= Yes
|
|
|
|
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>
|