f34a8c24a3
This is a semi-manual PKGREVISION bump.
30 lines
655 B
Makefile
30 lines
655 B
Makefile
# $NetBSD: Makefile,v 1.6 2019/04/25 07:32:45 maya Exp $
|
|
|
|
PKGREVISION= 1
|
|
.include "../../devel/glib2/Makefile.common"
|
|
|
|
PKGNAME:= ${PKGNAME:S/glib2/glib2-tools/}
|
|
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"
|