openbsd-ports/graphics/mpeg-lib/Makefile

32 lines
748 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.30 2008/01/04 17:48:35 espie Exp $
COMMENT= collection of C routines to decode MPEG movies
1997-12-19 22:17:26 -05:00
2000-01-09 00:56:33 -05:00
DISTNAME= mpeg_lib-1.3.1
PKGNAME= ${DISTNAME:S/_/-/}p0
2005-12-26 13:02:44 -05:00
SHARED_LIBS= mpeg 13.1
1997-12-19 22:17:26 -05:00
CATEGORIES= graphics
2004-06-21 23:14:12 -04:00
# BSD
2000-03-07 20:13:13 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-06-21 23:14:12 -04:00
MASTER_SITES= ftp://ftp.bic.mni.mcgill.ca/pub/mpeg/ \
http://starship.python.net/~gward/mpeglib/
CONFIGURE_STYLE= gnu
2001-03-16 13:54:31 -05:00
CONFIGURE_ENV= OPTIMIZE="${CFLAGS}"
2005-12-26 13:02:44 -05:00
MAKE_FLAGS= SHLIB=libmpeg.so.${LIBmpeg_VERSION}
2004-06-21 23:14:12 -04:00
do-regress:
@cd ${WRKSRC} && env LD_LIBRARY_PATH=${WRKSRC} ./mpegtest -checksum test.mpg
.include <bsd.port.mk>
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes"
MAKE_ENV+= NO_SHARED_LIBS=Yes
.endif