summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2005-09-08 13:43:05 +0000
committercube <cube@pkgsrc.org>2005-09-08 13:43:05 +0000
commitd67f205365e0bbb30fe8c416ed682d9d3a8268db (patch)
tree2cfc9b536288ba77324d66062260090f37b99038 /devel
parente7bd1c646fae2a5bdb398bfab78132b038c188b3 (diff)
downloadpkgsrc-d67f205365e0bbb30fe8c416ed682d9d3a8268db.tar.gz
o Rename Makefile.options into options.mk for consistency with all other
packages. o Drop the frontend- and backend- options names and replace them with simpler ones, now that we have the PKG_OPTIONS_GROUP mechanism it's much more easier. o Brick me for not having done that earlier.
Diffstat (limited to 'devel')
-rw-r--r--devel/rt3/Makefile4
-rw-r--r--devel/rt3/Makefile.options15
-rw-r--r--devel/rt3/options.mk20
3 files changed, 22 insertions, 17 deletions
diff --git a/devel/rt3/Makefile b/devel/rt3/Makefile
index bbdcb850380..6c163ee3f7c 100644
--- a/devel/rt3/Makefile
+++ b/devel/rt3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/08/06 06:19:18 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2005/09/08 13:43:05 cube Exp $
DISTNAME= rt-3.2.3
CATEGORIES= devel
@@ -8,7 +8,7 @@ MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://bestpractical.com/rt/
COMMENT= Industrial-grade ticketing system
-.include "Makefile.options"
+.include "options.mk"
# Core dependencies:
DEPENDS+= p5-Digest-[0-9]*:../../security/p5-Digest
diff --git a/devel/rt3/Makefile.options b/devel/rt3/Makefile.options
deleted file mode 100644
index 3be4d225d6e..00000000000
--- a/devel/rt3/Makefile.options
+++ /dev/null
@@ -1,15 +0,0 @@
-# $NetBSD: Makefile.options,v 1.5 2005/06/09 08:08:26 wiz Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.rt
-PKG_OPTIONS_REQUIRED_GROUPS= backend frontend
-PKG_OPTIONS_GROUP.backend= backend-mysql backend-pgsql
-PKG_OPTIONS_GROUP.frontend= frontend-modperl1 frontend-modperl2 \
- frontend-fastcgi
-PKG_SUGGESTED_OPTIONS= backend-mysql frontend-fastcgi
-
-.include "../../mk/bsd.options.mk"
-
-# Other options
-
-RT_GROUP?= rt
-BUILD_DEFS+= RT_GROUP
diff --git a/devel/rt3/options.mk b/devel/rt3/options.mk
new file mode 100644
index 00000000000..c0405db4c8a
--- /dev/null
+++ b/devel/rt3/options.mk
@@ -0,0 +1,20 @@
+# $NetBSD: options.mk,v 1.1 2005/09/08 13:43:05 cube Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.rt
+PKG_OPTIONS_REQUIRED_GROUPS= backend frontend
+PKG_OPTIONS_GROUP.backend= mysql pgsql
+PKG_OPTIONS_GROUP.frontend= modperl1 modperl2 \
+ fastcgi
+PKG_SUGGESTED_OPTIONS= mysql fastcgi
+
+PKG_OPTIONS_LEGACY_OPTS= backend-mysql:mysql backend-pgsql:pgsql \
+ frontend-modperl1:modperl1 \
+ frontend-modperl2:modperl2 \
+ frontend-fastcgi:fastcgi
+
+.include "../../mk/bsd.options.mk"
+
+# Other options
+
+RT_GROUP?= rt
+BUILD_DEFS+= RT_GROUP