Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2013 12:51:10 +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: r333861 - head/multimedia/libdvdread
Message-ID:  <201311151251.rAFCpAPb009512@svn.freebsd.org>

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

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

Modified:
  head/multimedia/libdvdread/Makefile   (contents, props changed)

Modified: head/multimedia/libdvdread/Makefile
==============================================================================
--- head/multimedia/libdvdread/Makefile	Fri Nov 15 12:50:26 2013	(r333860)
+++ head/multimedia/libdvdread/Makefile	Fri Nov 15 12:51:10 2013	(r333861)
@@ -25,34 +25,24 @@ CONFIGURE_ARGS=	--prefix="${PREFIX}" \
 		--incdir="${PREFIX}/include/dvdread" \
 		--disable-opts \
 		--cc="${CC}"
-USE_GMAKE=	yes
+USES=	gmake
 USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	DVDCSS DEBUG
 .if !defined(PACKAGE_BUILDING)
 OPTIONS_DEFAULT=	DVDCSS
 .endif
+DEBUG_CONFIGURE_ON=	--enable-debug --disable-strip
+DEBUG_CONFIGURE_OFF=	--disable-debug --enable-strip
+DVDCSS_LIB_DEPENDS=	libdvdcss.so:${PORTSDIR}/multimedia/libdvdcss
 
 # DVDCSS version hardcoded in src/dvd_input.c (dlopen'ed)
 DVDCSS_LIBVERSION=	3
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MDVDCSS}
-LIB_DEPENDS+=	dvdcss:${PORTSDIR}/multimedia/libdvdcss
-.endif
-
-.if ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+=	--enable-debug --disable-strip
-.else
-CONFIGURE_ARGS+=	--disable-debug
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|-ldl ||g' \
 		${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -E -e 's|(libdvdcss.so)\.2|\1.${DVDCSS_LIBVERSION}|' \
 		${WRKSRC}/src/dvd_input.c
 
-.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?201311151251.rAFCpAPb009512>