summaryrefslogtreecommitdiff
path: root/graphics/gexiv2_016/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gexiv2_016/Makefile')
-rw-r--r--graphics/gexiv2_016/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/graphics/gexiv2_016/Makefile b/graphics/gexiv2_016/Makefile
new file mode 100644
index 000000000000..f20e2b2ea473
--- /dev/null
+++ b/graphics/gexiv2_016/Makefile
@@ -0,0 +1,41 @@
+PORTNAME= gexiv2
+PKGNAMESUFFIX= _016
+PORTVERSION= 0.16.0
+CATEGORIES= graphics
+MASTER_SITES= GNOME
+
+MAINTAINER= cmt@FreeBSD.org
+COMMENT= GObject-based wrapper around Exiv2 library
+WWW= https://wiki.gnome.org/Projects/gexiv2
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= gi-docgen:textproc/py-gi-docgen
+LIB_DEPENDS= libexiv2.so:graphics/exiv2
+
+USES= compiler:c++17-lang gnome libtool:build meson pathfix pkgconfig \
+ python:build tar:xz vala:build
+USE_GNOME= glib20 introspection:build pygobject3
+USE_LDCONFIG= yes
+BINARY_WRAPPERS= gm4
+BINARY_ALIAS= python3=${PYTHON_CMD}
+
+USE_CXXSTD= c++17
+
+PLIST_SUB= SOVERSION=${PORTVERSION:C/^0./4./}
+
+OPTIONS_DEFINE= DOCS
+OPTIONS_SUB= yes
+DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc
+DOCS_CONFIGURE_ON= -Dgtk_doc=true
+
+PORTSCOUT= limitw:1,even
+
+pre-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/vala/vapi
+
+post-install:
+ ${RM} -r ${STAGEDIR}${PREFIX}/lib/python*
+
+.include <bsd.port.mk>