34 lines
829 B
Makefile
34 lines
829 B
Makefile
# $OpenBSD: Makefile,v 1.28 2005/12/26 18:02:44 steven Exp $
|
|
|
|
COMMENT= "collection of C routines to decode MPEG movies"
|
|
|
|
DISTNAME= mpeg_lib-1.3.1
|
|
PKGNAME= ${DISTNAME:S/_/-/}p0
|
|
SHARED_LIBS= mpeg 13.1
|
|
CATEGORIES= graphics
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ftp://ftp.bic.mni.mcgill.ca/pub/mpeg/ \
|
|
http://starship.python.net/~gward/mpeglib/
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= OPTIMIZE="${CFLAGS}"
|
|
|
|
MAKE_FLAGS= SHLIB=libmpeg.so.${LIBmpeg_VERSION}
|
|
FAKE_FLAGS= SHLIB=libmpeg.so.${LIBmpeg_VERSION} \
|
|
${DESTDIRNAME}=${WRKINST}
|
|
|
|
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
|