aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libmpeg3
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-29 12:42:04 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-29 12:42:04 +0000
commit222461c302e52a3848555e999ecc7a10f98b278e (patch)
tree4fad0f8d9c328a570a49371daf5f0078d7075272 /multimedia/libmpeg3
parentb6155c63444b79580e9bd13727472581d1ed66f1 (diff)
downloadports-222461c302e52a3848555e999ecc7a10f98b278e.tar.gz
ports-222461c302e52a3848555e999ecc7a10f98b278e.zip
Notes
Diffstat (limited to 'multimedia/libmpeg3')
-rw-r--r--multimedia/libmpeg3/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/multimedia/libmpeg3/Makefile b/multimedia/libmpeg3/Makefile
index c270ffa6f2cf..632e4ad4ee41 100644
--- a/multimedia/libmpeg3/Makefile
+++ b/multimedia/libmpeg3/Makefile
@@ -16,7 +16,7 @@ COMMENT= Advanced editing and manipulation of MPEG streams
LIB_DEPENDS= a52.0:${PORTSDIR}/audio/liba52
-OPTIONS= MMX "Enable MMX instruction set (i386 only)" off
+OPTIONS_DEFINE= MMX DOCS
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
@@ -38,9 +38,9 @@ LDFLAGS+= -lm -L${LOCALBASE}/lib -la52 ${PTHREAD_LIBS}
NASM?= ${LOCALBASE}/bin/nasm
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_MMX) && (${ARCH} == "i386")
+.if ${PORT_OPTIONS:MMMX} && (${ARCH} == "i386")
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
MAKE_ARGS+= USE_MMX=1 NASM="${NASM}"
CFLAGS+= -DHAVE_MMX
@@ -65,11 +65,11 @@ do-install:
.for file in ${LIB_FILES}
cd ${WRKSRC}/obj && ${INSTALL_DATA} ${file} ${PREFIX}/lib
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
cd ${WRKSRC}/docs && ${INSTALL_DATA} ${file} ${DOCSDIR}
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>