pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/libmemphis02



Module Name:    pkgsrc
Committed By:   cirnatdan
Date:           Mon Apr 19 15:55:29 UTC 2021

Modified Files:
        pkgsrc/geography/libmemphis02: Makefile PLIST
Added Files:
        pkgsrc/geography/libmemphis02: options.mk

Log Message:
libmemphis02: Add introspection option


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/geography/libmemphis02/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/geography/libmemphis02/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/geography/libmemphis02/options.mk

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

Modified files:

Index: pkgsrc/geography/libmemphis02/Makefile
diff -u pkgsrc/geography/libmemphis02/Makefile:1.12 pkgsrc/geography/libmemphis02/Makefile:1.13
--- pkgsrc/geography/libmemphis02/Makefile:1.12 Mon Jan 18 23:50:45 2021
+++ pkgsrc/geography/libmemphis02/Makefile      Mon Apr 19 15:55:29 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2021/01/18 23:50:45 mef Exp $
+# $NetBSD: Makefile,v 1.13 2021/04/19 15:55:29 cirnatdan Exp $
 
 DISTNAME=      memphis-0.2.3
 PKGNAME=       libmemphis02-0.2.3
@@ -26,6 +26,8 @@ pre-configure:
        autoheader ; \
        automake -a --foreign -i --add-missing; autoconf
 
+.include "options.mk"
+
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../graphics/cairo/buildlink3.mk"
 .include "../../textproc/expat/buildlink3.mk"

Index: pkgsrc/geography/libmemphis02/PLIST
diff -u pkgsrc/geography/libmemphis02/PLIST:1.5 pkgsrc/geography/libmemphis02/PLIST:1.6
--- pkgsrc/geography/libmemphis02/PLIST:1.5     Mon Jan 18 23:50:45 2021
+++ pkgsrc/geography/libmemphis02/PLIST Mon Apr 19 15:55:29 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2021/01/18 23:50:45 mef Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/04/19 15:55:29 cirnatdan Exp $
 include/libmemphis-0.2/memphis/memphis-data-pool.h
 include/libmemphis-0.2/memphis/memphis-debug.h
 include/libmemphis-0.2/memphis/memphis-map.h
@@ -6,6 +6,8 @@ include/libmemphis-0.2/memphis/memphis-r
 include/libmemphis-0.2/memphis/memphis-rule-set.h
 include/libmemphis-0.2/memphis/memphis-rule.h
 include/libmemphis-0.2/memphis/memphis.h
+${PLIST.introspection}lib/girepository-1.0/Memphis-0.2.typelib
 lib/libmemphis-0.2.la
 lib/pkgconfig/memphis-0.2.pc
+${PLIST.introspection}share/gir-1.0/Memphis-0.2.gir
 share/memphis-0.2/default-rules.xml

Added files:

Index: pkgsrc/geography/libmemphis02/options.mk
diff -u /dev/null pkgsrc/geography/libmemphis02/options.mk:1.1
--- /dev/null   Mon Apr 19 15:55:29 2021
+++ pkgsrc/geography/libmemphis02/options.mk    Mon Apr 19 15:55:29 2021
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2021/04/19 15:55:29 cirnatdan Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.libmemphis02
+PKG_SUPPORTED_OPTIONS= introspection
+PKG_SUGGESTED_OPTIONS= introspection
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=   introspection
+
+.if !empty(PKG_OPTIONS:Mintrospection)
+BUILDLINK_DEPMETHOD.gobject-introspection+=    build
+.include "../../devel/gobject-introspection/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-introspection
+PLIST.introspection=   yes
+.else
+CONFIGURE_ARGS+=       --disable-introspection
+.endif



Home | Main Index | Thread Index | Old Index