2008-01-04 12:48:33 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2008/01/04 17:48:35 espie Exp $
|
2001-04-21 10:57:48 -04:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
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
|
2005-08-17 12:10:02 -04:00
|
|
|
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
|
1998-06-30 18:29:09 -04:00
|
|
|
|
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/
|
|
|
|
|
2000-09-14 09:31:16 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2001-03-16 13:54:31 -05:00
|
|
|
CONFIGURE_ENV= OPTIMIZE="${CFLAGS}"
|
1999-03-01 23:41:00 -05:00
|
|
|
|
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
|
|
|
|
|
1999-03-01 23:41:00 -05:00
|
|
|
.include <bsd.port.mk>
|
2000-09-23 22:13:09 -04:00
|
|
|
|
|
|
|
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes"
|
2001-04-21 10:57:48 -04:00
|
|
|
MAKE_ENV+= NO_SHARED_LIBS=Yes
|
2000-09-23 22:13:09 -04:00
|
|
|
.endif
|