mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# Created by: Michael Nottebrock <michaelnottebrock@gmx.net> et al
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xvid
|
|
PORTVERSION= 1.3.2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= http://downloads.xvid.org/downloads/
|
|
DISTNAME= ${PORTNAME}core-${PORTVERSION}
|
|
|
|
MAINTAINER= fluffy@FreeBSD.org
|
|
COMMENT= An opensource MPEG-4 codec, based on OpenDivx
|
|
|
|
USES= gmake
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFIGURE_ENV+= ac_cv_prog_ac_yasm=no
|
|
|
|
PLIST_FILES= include/xvid.h \
|
|
lib/libxvidcore.a \
|
|
lib/libxvidcore.so \
|
|
lib/libxvidcore.so.4
|
|
|
|
WRKSRC= ${WRKDIR}/xvidcore/build/generic
|
|
|
|
OPTIONS_DEFINE= OPTIMIZED_CFLAGS
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "amd64"
|
|
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
|
|
.endif
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
|
|
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
|
|
CFLAGS= # let xvid's build system decide about those
|
|
.endif
|
|
|
|
post-install:
|
|
@ ${LN} -sf ${PREFIX}/lib/libxvidcore.so.4 ${STAGEDIR}${PREFIX}/lib/libxvidcore.so
|
|
|
|
.include <bsd.port.post.mk>
|