svn commit: r374709 - head/graphics/libopenraw
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Dec 14 15:24:19 UTC 2014
Author: amdmi3
Date: Sun Dec 14 15:24:18 2014
New Revision: 374709
URL: https://svnweb.freebsd.org/changeset/ports/374709
QAT: https://qat.redports.org/buildarchive/r374709/
Log:
- Pet portlint
- Strip libraries
Modified:
head/graphics/libopenraw/Makefile
Modified: head/graphics/libopenraw/Makefile
==============================================================================
--- head/graphics/libopenraw/Makefile Sun Dec 14 15:24:07 2014 (r374708)
+++ head/graphics/libopenraw/Makefile Sun Dec 14 15:24:18 2014 (r374709)
@@ -10,12 +10,12 @@ MASTER_SITES= http://libopenraw.freedesk
MAINTAINER= ports at 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>
More information about the svn-ports-all
mailing list