2006-01-08 17:12:38 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2006/01/08 22:12:38 jakemsr Exp $
|
2004-10-25 12:56:44 -04:00
|
|
|
|
|
|
|
COMMENT= "ISO MPEG-4 compliant video codec"
|
|
|
|
|
2005-06-13 02:09:36 -04:00
|
|
|
DISTNAME= xvidcore-1.0.3
|
2006-01-08 17:12:38 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2004-10-25 12:56:44 -04:00
|
|
|
CATEGORIES= multimedia
|
2006-01-08 17:12:38 -05:00
|
|
|
SHARED_LIBS= xvidcore 4.0
|
2004-10-25 12:56:44 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.xvid.org/
|
|
|
|
|
|
|
|
MAINTAINER= Waldemar Brodkorb <wbx@openbsd.de>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2006-01-08 17:12:38 -05:00
|
|
|
WANTLIB= m
|
2004-10-25 12:56:44 -04:00
|
|
|
|
2005-06-13 02:09:36 -04:00
|
|
|
MASTER_SITES= http://downloads.xvid.org/downloads/
|
2004-10-25 12:56:44 -04:00
|
|
|
|
|
|
|
WRKBUILD= ${WRKSRC}/build/generic
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= --disable-assembly
|
2006-01-08 17:12:38 -05:00
|
|
|
CONFIGURE_ENV= API_MAJOR=${LIBxvidcore_VERSION:R} \
|
|
|
|
API_MINOR=${LIBxvidcore_VERSION:E}
|
2004-10-25 12:56:44 -04:00
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "vax" || ${MACHINE_ARCH} == "m88k"
|
|
|
|
MAKE_FLAGS+= SHARED_LIB=""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/=build/libxvidcore.* ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/xvid.h ${PREFIX}/include
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|