diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-11-09 17:00:14 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-11-09 17:00:14 +0800 |
commit | 825aa355fb63882951c0a6644ba0596d17d08895 (patch) | |
tree | b404aa5c1d444d8e78175000e0221fc1865f7f17 /graphics | |
parent | 1470bd6a0845059af7887f1a0361e7bcf2750ade (diff) | |
download | freebsd-ports-gnome-825aa355fb63882951c0a6644ba0596d17d08895.tar.gz freebsd-ports-gnome-825aa355fb63882951c0a6644ba0596d17d08895.tar.zst freebsd-ports-gnome-825aa355fb63882951c0a6644ba0596d17d08895.zip |
- Fix LICENSE
- Switch to USES=localbase
- Switch to options helpers
- Verbosify build
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libopenraw/Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/graphics/libopenraw/Makefile b/graphics/libopenraw/Makefile index 572c0c61eb48..8753e9c79e19 100644 --- a/graphics/libopenraw/Makefile +++ b/graphics/libopenraw/Makefile @@ -10,18 +10,17 @@ MASTER_SITES= http://libopenraw.freedesktop.org/download/ 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> |