From owner-svn-ports-head@freebsd.org Sat Sep 26 15:12:17 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF5D3A08C64; Sat, 26 Sep 2015 15:12:17 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DD513B6C; Sat, 26 Sep 2015 15:12:17 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8QFCHB0027957; Sat, 26 Sep 2015 15:12:17 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8QFCHkI027956; Sat, 26 Sep 2015 15:12:17 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201509261512.t8QFCHkI027956@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 26 Sep 2015 15:12:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397986 - head/multimedia/openh264 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2015 15:12:18 -0000 Author: jbeich Date: Sat Sep 26 15:12:17 2015 New Revision: 397986 URL: https://svnweb.freebsd.org/changeset/ports/397986 Log: multimedia/openh264: convert to new option helpers Modified: head/multimedia/openh264/Makefile Modified: head/multimedia/openh264/Makefile ============================================================================== --- head/multimedia/openh264/Makefile Sat Sep 26 14:59:34 2015 (r397985) +++ head/multimedia/openh264/Makefile Sat Sep 26 15:12:17 2015 (r397986) @@ -25,6 +25,9 @@ OPTIONS_DEFINE= DEBUG PLUGINS TEST OPTIONS_DEFAULT=PLUGINS OPTIONS_SUB= yes +DEBUG_BUILD_DEPENDS_OFF= ${DEBUG_BUILD_DEPENDS_OFF_${ARCH}} +DEBUG_BUILD_DEPENDS_OFF_amd64= nasm:${PORTSDIR}/devel/nasm +DEBUG_BUILD_DEPENDS_OFF_i386= nasm:${PORTSDIR}/devel/nasm DEBUG_MAKE_ARGS=BUILDTYPE=Debug PLUGINS_BUILD_DEPENDS=gmp-api>=34.0:${PORTSDIR}/multimedia/gmp-api # gmp-api<36.0:${PORTSDIR}/multimedia/gmp-api @@ -42,14 +45,6 @@ TEST_CFLAGS= -I${LOCALBASE}/include TEST_MAKE_ARGS= HAVE_GTEST=Yes TEST_ALL_TARGET=test -.include - -.if ! ${PORT_OPTIONS:MDEBUG} -. if ${ARCH} == amd64 || ${ARCH} == i386 -BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm -. endif -.endif - post-patch: ${REINPLACE_CMD} -e '/gtest-targets\.mk/d' \ -e '/pkgconfig/s/lib/libdata/' \ @@ -62,11 +57,11 @@ pre-build: post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.0 -.if ${PORT_OPTIONS:MPLUGINS} + +post-install-PLUGINS-on: ${MKDIR} ${STAGEDIR}${WEBPLUGIN_DIR} ${INSTALL_DATA} ${WRKSRC}/gmp${PORTNAME}.info ${STAGEDIR}${WEBPLUGIN_DIR} ${INSTALL_LIB} ${WRKSRC}/libgmp${PORTNAME}.so ${STAGEDIR}${WEBPLUGIN_DIR} ${INSTALL_DATA} ${WRKDIR}/gmp${PORTNAME}.js ${STAGEDIR}${WEBPLUGIN_DIR} -.endif .include