pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   prlw1
Date:           Sun Oct 15 14:10:40 UTC 2017

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/glib2-tools: DESCR Makefile PLIST

Log Message:
Add glib2-tools, a place for glib2/gobject's python dependent tools,
namely glib-genmarshal and glib-mkenums.


To generate a diff of this commit:
cvs rdiff -u -r1.2549 -r1.2550 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/glib2-tools/DESCR \
    pkgsrc/devel/glib2-tools/Makefile pkgsrc/devel/glib2-tools/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.2549 pkgsrc/devel/Makefile:1.2550
--- pkgsrc/devel/Makefile:1.2549        Sat Oct 14 10:20:33 2017
+++ pkgsrc/devel/Makefile       Sun Oct 15 14:10:39 2017
@@ -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+=    glade
 SUBDIR+=       glade3
 SUBDIR+=       glib
 SUBDIR+=       glib2
+SUBDIR+=       glib2-tools
 SUBDIR+=       glibmm
 SUBDIR+=       global
 SUBDIR+=       gmake

Added files:

Index: pkgsrc/devel/glib2-tools/DESCR
diff -u /dev/null pkgsrc/devel/glib2-tools/DESCR:1.1
--- /dev/null   Sun Oct 15 14:10:40 2017
+++ pkgsrc/devel/glib2-tools/DESCR      Sun Oct 15 14:10:39 2017
@@ -0,0 +1,2 @@
+This package provides glib2/gobject's python dependent tools:
+glib-mkenums and glib-genmarshal.
Index: pkgsrc/devel/glib2-tools/Makefile
diff -u /dev/null pkgsrc/devel/glib2-tools/Makefile:1.1
--- /dev/null   Sun Oct 15 14:10:40 2017
+++ pkgsrc/devel/glib2-tools/Makefile   Sun Oct 15 14:10:39 2017
@@ -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"
Index: pkgsrc/devel/glib2-tools/PLIST
diff -u /dev/null pkgsrc/devel/glib2-tools/PLIST:1.1
--- /dev/null   Sun Oct 15 14:10:40 2017
+++ pkgsrc/devel/glib2-tools/PLIST      Sun Oct 15 14:10:39 2017
@@ -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