pkgsrc-WIP-changes archive

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

gambas3: Introduce Options



Module Name:	pkgsrc-wip
Committed By:	bgermann <bastiangermann%fishpost.de@localhost>
Pushed By:	bgermann
Date:		Fri Sep 14 16:10:14 2018 +0200
Changeset:	2c203c664e030c31c9feba0abf1740d57fa05076

Modified Files:
	gambas3-ide/Makefile
	gambas3-runtime/Makefile
Added Files:
	gambas3-ide/options.mk
	gambas3-runtime/options.mk

Log Message:
gambas3: Introduce Options

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2c203c664e030c31c9feba0abf1740d57fa05076

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

diffstat:
 gambas3-ide/Makefile       |  4 ++++
 gambas3-ide/options.mk     | 14 ++++++++++++++
 gambas3-runtime/Makefile   |  3 +--
 gambas3-runtime/options.mk | 11 +++++++++++
 4 files changed, 30 insertions(+), 2 deletions(-)

diffs:
diff --git a/gambas3-ide/Makefile b/gambas3-ide/Makefile
index 26a957900e..ab48cf0485 100644
--- a/gambas3-ide/Makefile
+++ b/gambas3-ide/Makefile
@@ -13,7 +13,11 @@ GB_DEPENDS+=	gambas3-gb-signal gambas3-gb-term gambas3-gb-util gambas3-gb-jit
 PKGNAME=	gambas3-ide-${GB_VERSION}
 MAINTAINER=	bastiangermann%fishpost.de@localhost
 COMMENT=	Integrated Development Environment for the Gambas programming language
+DEPENDS+=	gtar-base-1.*:../../archivers/gtar-base
 
 CHECK_FILES_SKIP+=	${PREFIX}/bin/gb.*
 
+.include "options.mk"
+.include "../../archivers/xz/buildlink3.mk"
+.include "../../devel/gettext-tools/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/gambas3-ide/options.mk b/gambas3-ide/options.mk
new file mode 100644
index 0000000000..10c28892d0
--- /dev/null
+++ b/gambas3-ide/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.gambas3-ide
+PKG_SUPPORTED_OPTIONS=	bzip2 gzip
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mbzip2)
+.include "../../archivers/bzip2/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mgzip)
+DEPENDS+=	gzip-1.*:../../archivers/gzip
+.endif
diff --git a/gambas3-runtime/Makefile b/gambas3-runtime/Makefile
index 8d368219b5..4cf8ab7b19 100644
--- a/gambas3-runtime/Makefile
+++ b/gambas3-runtime/Makefile
@@ -6,8 +6,7 @@ BUILD_DIRS=	main comp
 PKGNAME=	gambas3-runtime-${GB_VERSION}
 MAINTAINER=	bastiangermann%fishpost.de@localhost
 COMMENT=	Gambas interpreter and basic runtime
-BUILD_DEPENDS+=	gambas3-gb-qt4-opengl-${GB_VERSION}:../../wip/gambas3-gb-qt4-opengl
-BUILD_DEPENDS+=	gambas3-gb-qt4-webkit-${GB_VERSION}:../../wip/gambas3-gb-qt4-webkit
 
+.include "options.mk"
 .include "../../devel/libffi/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/gambas3-runtime/options.mk b/gambas3-runtime/options.mk
new file mode 100644
index 0000000000..77af767bf2
--- /dev/null
+++ b/gambas3-runtime/options.mk
@@ -0,0 +1,11 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.gambas3-runtime
+PKG_SUPPORTED_OPTIONS=	qt4
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mqt4)
+BUILD_DEPENDS+=	gambas3-gb-qt4-opengl-${GB_VERSION}:../../wip/gambas3-gb-qt4-opengl
+BUILD_DEPENDS+=	gambas3-gb-qt4-webkit-${GB_VERSION}:../../wip/gambas3-gb-qt4-webkit
+.endif


Home | Main Index | Thread Index | Old Index