diff options
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> |