blob: 3f67d19aa0918902c5dd92e2a9e2a268913b9d2e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: Thinker K.F. Li <thinker@eeebox.branda.to>
PORTNAME= d-feet
PORTVERSION= 0.3.15
CATEGORIES= devel
MASTER_SITES= GNOME
PATCH_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
PATCHFILES+= 05465d486afd.patch:-p1 # https://gitlab.gnome.org/GNOME/d-feet/-/merge_requests/32
MAINTAINER= ports@FreeBSD.org
COMMENT= D-Bus Python introspection debugger
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= itstool:textproc/itstool
USES= gettext gnome meson pkgconfig python:3.5+ tar:xz
USE_GNOME= gtk30 intlhack libwnck3 pygobject3 introspection:build \
libxml2:build
GLIB_SCHEMAS= org.gnome.dfeet.gschema.xml
USE_PYTHON= py3kplist
MESON_ARGS= -Dtests=false
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} \
-e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
-e 's|%%PYTHON_VERSION%%|${PYTHON_VERSION}|' \
${WRKSRC}/meson.build
post-install:
.for locale in cs de el es hu pl pt_BR sv
${RLN} ${STAGEDIR}${PREFIX}/share/help/C/d-feet/figures/icon.png \
${STAGEDIR}${PREFIX}/share/help/${locale}/d-feet/figures/icon.png
.endfor
.include <bsd.port.mk>
|