blob: 508217903b384c798f0e879049be994337c91742 (
plain)
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
|
# Created by: Thinker K.F. Li <thinker@eeebox.branda.to>
PORTNAME= d-feet
PORTVERSION= 0.3.15
CATEGORIES= devel
MASTER_SITES= GNOME
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
INSTALLS_ICONS= yes
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>
|