Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2016 09:00:14 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425785 - head/graphics/libopenraw
Message-ID:  <201611090900.uA990Exs079012@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Nov  9 09:00:14 2016
New Revision: 425785
URL: https://svnweb.freebsd.org/changeset/ports/425785

Log:
  - Fix LICENSE
  - Switch to USES=localbase
  - Switch to options helpers
  - Verbosify build

Modified:
  head/graphics/libopenraw/Makefile

Modified: head/graphics/libopenraw/Makefile
==============================================================================
--- head/graphics/libopenraw/Makefile	Wed Nov  9 08:54:15 2016	(r425784)
+++ head/graphics/libopenraw/Makefile	Wed Nov  9 09:00:14 2016	(r425785)
@@ -10,18 +10,17 @@ MASTER_SITES=	http://libopenraw.freedesk
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Library for camera RAW files decoding
 
-LICENSE=	LGPL3
+LICENSE=	LGPL3+
 LICENSE_FILE=	${WRKSRC}/COPYING.LESSER
 
 LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
 
-USES=		compiler:c++11-lang jpeg libtool pkgconfig tar:bzip2
+USES=		compiler:c++11-lang jpeg libtool localbase pkgconfig tar:bzip2
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--with-boost=${LOCALBASE}/include
+MAKE_ENV=	V=1
 
 OPTIONS_DEFINE=	GNOME
 OPTIONS_DEFAULT=	GNOME
@@ -30,17 +29,15 @@ OPTIONS_SUB=	yes
 GNOME_CONFIGURE_ENABLE=	gnome
 GNOME_USE=	GNOME=glib20,gdkpixbuf2
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|testsuite ||' ${WRKSRC}/Makefile.in
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopenraw.so
-.if ${PORT_OPTIONS:MGNOME}
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopenrawgnome.so
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gdk-pixbuf-2.0/${GTK2_VERSION}/loaders/libopenraw_pixbuf.so
-.endif
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopenraw.so
+
+post-install-GNOME-on:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopenrawgnome.so
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gdk-pixbuf-2.0/${GTK2_VERSION}/loaders/libopenraw_pixbuf.so
 
 .include <bsd.port.mk>



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