blob: b3a6a31c74257cbcf865739b5c7fb4a03b8101e7 (
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
|
# $NetBSD: Makefile,v 1.4 2018/04/01 20:26:25 joerg Exp $
.include "../../devel/glib2/Makefile.common"
PKGNAME:= ${PKGNAME:S/glib2/glib2-tools/}
PKGREVISION= 1
CATEGORIES= devel gnome
COMMENT= GLib2/gobject python-dependent tools
NO_BUILD= yes
PYSCRIPTS= glib-genmarshal glib-mkenums
INSTALLATION_DIRS= bin
do-configure:
.for f in ${PYSCRIPTS}
cd ${WRKSRC}/gobject \
&& ${SED} \
-e "s,@PYTHON@,${PYTHONBIN}," \
-e "s,@VERSION@,${PKGVERSION}," \
${f}.in > ${f}
.endfor
do-install:
cd ${WRKSRC}/gobject \
&& ${INSTALL_SCRIPT} ${PYSCRIPTS} ${DESTDIR}${PREFIX}/bin
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
|