openbsd-ports/multimedia/xvidcore/Makefile
sthen 52500bb238 Remove workarounds now that _SC_NPROCESSORS_ONLN/_SC_NPROCESSORS_CONF
have been added to libc. Needs new libc before building. From Brad; ok jasper
2010-01-15 09:07:27 +00:00

42 lines
914 B
Makefile

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