Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2013 12:49:07 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333859 - head/multimedia/libdvdnav
Message-ID:  <201311151249.rAFCn7Jx007027@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Fri Nov 15 12:49:06 2013
New Revision: 333859
URL: http://svnweb.freebsd.org/changeset/ports/333859

Log:
  - Enable staging
  - Switch to new LIB_DEPENDS format
  - Replace USE_GMAKE with proper USES value
  - Switch to new options format

Modified:
  head/multimedia/libdvdnav/Makefile

Modified: head/multimedia/libdvdnav/Makefile
==============================================================================
--- head/multimedia/libdvdnav/Makefile	Fri Nov 15 12:45:03 2013	(r333858)
+++ head/multimedia/libdvdnav/Makefile	Fri Nov 15 12:49:06 2013	(r333859)
@@ -15,7 +15,7 @@ COMMENT=	MPlayer version of the libdvdna
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	dvdread:${PORTSDIR}/multimedia/libdvdread
+LIB_DEPENDS=	libdvdread.so:${PORTSDIR}/multimedia/libdvdread
 
 USE_BZIP2=	yes
 HAS_CONFIGURE=	yes
@@ -27,23 +27,16 @@ CONFIGURE_ARGS=	--prefix="${PREFIX}" \
 		--incdir="${PREFIX}/include/dvdnav" \
 		--disable-opts \
 		--cc="${CC}"
-USE_GMAKE=	yes
+USES=	gmake
 CONFLICTS=	libdvdnav-mplayer-[0-9]*
 USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	DEBUG
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+=	--enable-debug --disable-strip
-.else
-CONFIGURE_ARGS+=	--disable-debug
-.endif
+DEBUG_CONFIGURE_ON=	--enable-debug --disable-strip
+DEBUG_CONFIGURE_OFF=	--disable-debug --enable-strip
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|^threadlib="-lpthread"|threadlib="${PTHREAD_LIBS}"|g' \
 		${WRKSRC}/configure2
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311151249.rAFCn7Jx007027>