pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel Add glib2-tools, a place for glib2/gobject's pyt...
details: https://anonhg.NetBSD.org/pkgsrc/rev/80f662c09e26
branches: trunk
changeset: 370326:80f662c09e26
user: prlw1 <prlw1%pkgsrc.org@localhost>
date: Sun Oct 15 14:10:39 2017 +0000
description:
Add glib2-tools, a place for glib2/gobject's python dependent tools,
namely glib-genmarshal and glib-mkenums.
diffstat:
devel/Makefile | 3 ++-
devel/glib2-tools/DESCR | 2 ++
devel/glib2-tools/Makefile | 29 +++++++++++++++++++++++++++++
devel/glib2-tools/PLIST | 3 +++
4 files changed, 36 insertions(+), 1 deletions(-)
diffs (63 lines):
diff -r 1356479865d0 -r 80f662c09e26 devel/Makefile
--- a/devel/Makefile Sun Oct 15 08:35:38 2017 +0000
+++ b/devel/Makefile Sun Oct 15 14:10:39 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2549 2017/10/14 10:20:33 jaapb Exp $
+# $NetBSD: Makefile,v 1.2550 2017/10/15 14:10:39 prlw1 Exp $
#
COMMENT= Development utilities
@@ -287,6 +287,7 @@
SUBDIR+= glade3
SUBDIR+= glib
SUBDIR+= glib2
+SUBDIR+= glib2-tools
SUBDIR+= glibmm
SUBDIR+= global
SUBDIR+= gmake
diff -r 1356479865d0 -r 80f662c09e26 devel/glib2-tools/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/glib2-tools/DESCR Sun Oct 15 14:10:39 2017 +0000
@@ -0,0 +1,2 @@
+This package provides glib2/gobject's python dependent tools:
+glib-mkenums and glib-genmarshal.
diff -r 1356479865d0 -r 80f662c09e26 devel/glib2-tools/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/glib2-tools/Makefile Sun Oct 15 14:10:39 2017 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2017/10/15 14:10:39 prlw1 Exp $
+
+.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"
diff -r 1356479865d0 -r 80f662c09e26 devel/glib2-tools/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/glib2-tools/PLIST Sun Oct 15 14:10:39 2017 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2017/10/15 14:10:39 prlw1 Exp $
+bin/glib-genmarshal
+bin/glib-mkenums
Home |
Main Index |
Thread Index |
Old Index