Lines 1-41
Link Here
|
1 |
PORTNAME= gexiv2 |
1 |
PORTNAME= gexiv2 |
2 |
PORTVERSION= 0.14.1 |
2 |
PORTVERSION= 0.14.1 |
|
|
3 |
PORTREVISION= 1 |
3 |
CATEGORIES= graphics |
4 |
CATEGORIES= graphics |
4 |
MASTER_SITES= GNOME |
5 |
MASTER_SITES= GNOME |
5 |
|
6 |
|
|
|
7 |
PATCH_SITES= https://gitlab.gnome.org/GNOME/gexiv2/-/commit/ |
8 |
PATCHFILES= 06adc8fb70cb8c77c0cd364195d8251811106ef8.patch:-p1 |
9 |
|
6 |
MAINTAINER= cmt@FreeBSD.org |
10 |
MAINTAINER= cmt@FreeBSD.org |
7 |
COMMENT= GObject-based wrapper around Exiv2 library |
11 |
COMMENT= GObject-based wrapper around Exiv2 library |
8 |
WWW= https://wiki.gnome.org/Projects/gexiv2 |
12 |
WWW= https://wiki.gnome.org/Projects/gexiv2 |
9 |
|
13 |
|
10 |
LICENSE= GPLv2 |
14 |
LICENSE= GPLv2 |
11 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
LICENSE_FILE= ${WRKSRC}/COPYING |
12 |
|
16 |
|
13 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR} |
17 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR} |
14 |
LIB_DEPENDS= libexiv2.so:graphics/exiv2 |
18 |
LIB_DEPENDS= libexiv2.so:graphics/exiv2 |
15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR} |
19 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR} |
16 |
|
20 |
|
17 |
USES= compiler:c++17-lang gnome libtool:build meson pathfix pkgconfig \ |
21 |
USES= compiler:c++17-lang gnome libtool:build meson pathfix pkgconfig \ |
18 |
python:build tar:xz vala:build |
22 |
python:build tar:xz vala:build |
19 |
USE_GNOME= glib20 introspection:build |
23 |
USE_GNOME= glib20 introspection:build |
20 |
USE_LDCONFIG= yes |
24 |
USE_LDCONFIG= yes |
21 |
BINARY_WRAPPERS= gm4 |
25 |
BINARY_WRAPPERS= gm4 |
22 |
BINARY_ALIAS= python3=${PYTHON_CMD} |
26 |
BINARY_ALIAS= python3=${PYTHON_CMD} |
23 |
|
27 |
|
24 |
# https://gitlab.gnome.org/GNOME/gexiv2/-/issues/73 |
28 |
USE_CXXSTD= c++17 |
25 |
USE_CXXSTD= c++17 -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR |
|
|
26 |
|
29 |
|
27 |
OPTIONS_DEFINE= DOCS |
30 |
OPTIONS_DEFINE= DOCS |
28 |
OPTIONS_SUB= yes |
31 |
OPTIONS_SUB= yes |
29 |
DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc |
32 |
DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc |
30 |
DOCS_CONFIGURE_ON= -Dgtk_doc=true |
33 |
DOCS_CONFIGURE_ON= -Dgtk_doc=true |
31 |
|
34 |
|
32 |
.include <bsd.port.options.mk> |
|
|
33 |
|
34 |
pre-install: |
35 |
pre-install: |
35 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/vala/vapi |
36 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/vala/vapi |
36 |
|
37 |
|
37 |
post-install: |
38 |
post-install: |
38 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgexiv2.so |
39 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgexiv2.so |
39 |
${RM} -r ${STAGEDIR}${PREFIX}/lib/python* |
40 |
${RM} -r ${STAGEDIR}${PREFIX}/lib/python* |
40 |
|
41 |
|
41 |
.include <bsd.port.mk> |
42 |
.include <bsd.port.mk> |