summaryrefslogtreecommitdiff
path: root/graphics/dia/options.mk
diff options
context:
space:
mode:
authorjmmv <jmmv>2005-01-20 18:49:33 +0000
committerjmmv <jmmv>2005-01-20 18:49:33 +0000
commit1bed10fca0c270f53f6119fdd82f41d2fac87a7a (patch)
treeb7a1b4904d1cfe7a60f5b216a48a5d119a5b9265 /graphics/dia/options.mk
parent8e6a18dffcfc5ac9841fc1971f99941f3081b2c4 (diff)
downloadpkgsrc-1bed10fca0c270f53f6119fdd82f41d2fac87a7a.tar.gz
Remove python support from this package and bump PKGREVISION to 1.
Reason: drop a build time option. While here, split the Makefile in two parts to allow the addition of the upcoming dia-python package, which will provide the missing bits.
Diffstat (limited to 'graphics/dia/options.mk')
-rw-r--r--graphics/dia/options.mk23
1 files changed, 4 insertions, 19 deletions
diff --git a/graphics/dia/options.mk b/graphics/dia/options.mk
index 4a0fd41cb44..8a083095abc 100644
--- a/graphics/dia/options.mk
+++ b/graphics/dia/options.mk
@@ -1,27 +1,12 @@
-# $NetBSD: options.mk,v 1.1 2004/11/17 21:42:11 xtraeme Exp $
+# $NetBSD: options.mk,v 1.2 2005/01/20 18:49:33 jmmv Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dia
-#PKG_SUPPORTED_OPTIONS= python gnome cairo
-PKG_SUPPORTED_OPTIONS= python gnome
-PKG_DEFAULT_OPTIONS= python gnome
+#PKG_SUPPORTED_OPTIONS= gnome cairo
+PKG_SUPPORTED_OPTIONS= gnome
+PKG_DEFAULT_OPTIONS= gnome
.include "../../mk/bsd.options.mk"
-.if !empty(PKG_OPTIONS:Mpython)
-CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
-CONFIGURE_ARGS+= --with-python
-
-PYTHON_PATCH_SCRIPTS= po-checktrans.py
-PYTHON_PATCH_SCRIPTS+= plug-ins/python/gtkcons.py
-PYTHON_PATCH_SCRIPTS+= sheets/checktrans.py
-. include "../../lang/python/application.mk"
-. include "../../x11/py-gtk2/buildlink3.mk"
-PLIST_SUBST+= PYTHON_OPTION=
-.else
-CONFIGURE_ARGS+= --without-python
-PLIST_SUBST+= PYTHON_OPTION='@comment '
-.endif
-
.if !empty(PKG_OPTIONS:Mgnome)
USE_DIRS+= gnome2-1.5
CONFIGURE_ARGS+= --enable-gnome