summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-10-10 00:17:27 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-10-10 00:17:27 +0000
commit6d44589f237faa75ae12fd030c377187d035b811 (patch)
treecb46ebbaf66b9882d8297705388938e1d15fabc1 /graphics
parent- Convert to staging (diff)
- Convert to staging
- Convert LIB_DEPENDS to new format - Use option helpers
Notes
Notes: svn path=/head/; revision=329948
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libopenraw/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/graphics/libopenraw/Makefile b/graphics/libopenraw/Makefile
index 0775017168d3..31819e3ce241 100644
--- a/graphics/libopenraw/Makefile
+++ b/graphics/libopenraw/Makefile
@@ -10,8 +10,8 @@ MASTER_SITES= http://libopenraw.freedesktop.org/download/
MAINTAINER= ports@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}/include
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