svn commit: r329948 - head/graphics/libopenraw
Guido Falsi
madpilot at FreeBSD.org
Thu Oct 10 00:17:28 UTC 2013
Author: madpilot
Date: Thu Oct 10 00:17:27 2013
New Revision: 329948
URL: http://svnweb.freebsd.org/changeset/ports/329948
Log:
- Convert to staging
- Convert LIB_DEPENDS to new format
- Use option helpers
Modified:
head/graphics/libopenraw/Makefile
Modified: head/graphics/libopenraw/Makefile
==============================================================================
--- head/graphics/libopenraw/Makefile Thu Oct 10 00:15:20 2013 (r329947)
+++ head/graphics/libopenraw/Makefile Thu Oct 10 00:17:27 2013 (r329948)
@@ -10,8 +10,8 @@ MASTER_SITES= http://libopenraw.freedesk
MAINTAINER= ports at FreeBSD.org
COMMENT= Library for camera RAW files decoding
-LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs \
- jpeg.11:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \
+ libjpeg.so:${PORTSDIR}/graphics/jpeg
USES= pkgconfig
USE_GNOME= libxml2
@@ -24,16 +24,9 @@ CONFIGURE_ARGS= --with-boost=${LOCALBASE
OPTIONS_DEFINE= GNOME
OPTIONS_DEFAULT= GNOME
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGNOME}
-USE_GNOME= gtk20
-PLIST_SUB+= GNOME=""
-.else
-CONFIGURE_ARGS+=--disable-gnome
-PLIST_SUB+= GNOME="@comment "
-.endif
+OPTIONS_SUB= yes
+GNOME_CONFIGURE_ENABLE= gnome
+GNOME_USE= GNOME=gtk20
post-patch:
@${REINPLACE_CMD} -e 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|' ${WRKSRC}/configure
More information about the svn-ports-all
mailing list