2010-01-15 04:07:27 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2010/01/15 09:07:27 sthen Exp $
|
2004-10-25 12:56:44 -04:00
|
|
|
|
2008-07-14 02:02:30 -04:00
|
|
|
COMMENT= ISO MPEG-4 compliant video codec
|
2004-10-25 12:56:44 -04:00
|
|
|
|
2009-06-16 16:38:50 -04:00
|
|
|
DISTNAME= xvidcore-1.2.2
|
2010-01-15 04:07:27 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2008-07-14 02:02:30 -04:00
|
|
|
CATEGORIES= multimedia
|
2009-05-10 16:16:10 -04:00
|
|
|
MASTER_SITES= http://downloads.xvid.org/downloads/
|
|
|
|
|
|
|
|
SHARED_LIBS= xvidcore 4.2
|
2004-10-25 12:56:44 -04:00
|
|
|
|
2008-07-14 02:02:30 -04:00
|
|
|
HOMEPAGE= http://www.xvid.org/
|
2004-10-25 12:56:44 -04:00
|
|
|
|
2009-05-10 16:16:10 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
|
|
|
|
2008-07-14 02:02:30 -04:00
|
|
|
# GPLv2+
|
2004-10-25 12:56:44 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-07-18 06:56:29 -04:00
|
|
|
WANTLIB= m pthread
|
2008-07-14 02:02:30 -04:00
|
|
|
|
2009-05-10 16:16:10 -04:00
|
|
|
WRKDIST= ${WRKDIR}/xvidcore
|
2008-07-14 02:02:30 -04:00
|
|
|
WRKBUILD= ${WRKSRC}/build/generic
|
2009-05-10 16:16:10 -04:00
|
|
|
|
2008-07-14 02:02:30 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2009-05-10 16:16:10 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-assembly
|
2008-07-14 02:02:30 -04:00
|
|
|
CONFIGURE_ENV= API_MAJOR=${LIBxvidcore_VERSION:R} \
|
|
|
|
API_MINOR=${LIBxvidcore_VERSION:E}
|
2004-10-25 12:56:44 -04:00
|
|
|
|
2008-07-14 02:02:30 -04:00
|
|
|
NO_REGRESS= Yes
|
2004-10-25 12:56:44 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/=build/libxvidcore.* ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/xvid.h ${PREFIX}/include
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2008-07-14 02:02:30 -04:00
|
|
|
|
|
|
|
.if ${NO_SHARED_LIBS:L} == "yes"
|
|
|
|
MAKE_FLAGS+= SHARED_LIB=""
|
|
|
|
.endif
|