diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-12-14 15:24:18 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-12-14 15:24:18 +0000 |
commit | 82c6266a1a84886bcd9b93284dcab861d3326b55 (patch) | |
tree | ad141d9ffbd09cb00471ce8f3fa1d9af78bd8cd5 /graphics | |
parent | 4ac0c48dcd5801c891cd05c4004f97ba2c4e1c13 (diff) | |
download | ports-82c6266a1a84886bcd9b93284dcab861d3326b55.tar.gz ports-82c6266a1a84886bcd9b93284dcab861d3326b55.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libopenraw/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/graphics/libopenraw/Makefile b/graphics/libopenraw/Makefile index e4c892e91025..de0159836ed9 100644 --- a/graphics/libopenraw/Makefile +++ b/graphics/libopenraw/Makefile @@ -10,12 +10,12 @@ MASTER_SITES= http://libopenraw.freedesktop.org/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Library for camera RAW files decoding -LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \ - libjpeg.so:${PORTSDIR}/graphics/jpeg - LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING.LESSER +LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \ + libjpeg.so:${PORTSDIR}/graphics/jpeg + USES= compiler:c++11-lang libtool pkgconfig tar:bzip2 USE_GNOME= libxml2 USE_LDCONFIG= yes @@ -31,8 +31,17 @@ 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 + .include <bsd.port.mk> |