pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/rt3 o Rename Makefile.options into options.mk f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/481601704a4e
branches:  trunk
changeset: 499050:481601704a4e
user:      cube <cube%pkgsrc.org@localhost>
date:      Thu Sep 08 13:43:05 2005 +0000

description:
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:

 devel/rt3/Makefile         |   4 ++--
 devel/rt3/Makefile.options |  15 ---------------
 devel/rt3/options.mk       |  20 ++++++++++++++++++++
 3 files changed, 22 insertions(+), 17 deletions(-)

diffs (61 lines):

diff -r 201b3fc7e9c8 -r 481601704a4e devel/rt3/Makefile
--- a/devel/rt3/Makefile        Thu Sep 08 13:39:21 2005 +0000
+++ b/devel/rt3/Makefile        Thu Sep 08 13:43:05 2005 +0000
@@ -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 @@
 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 -r 201b3fc7e9c8 -r 481601704a4e devel/rt3/Makefile.options
--- a/devel/rt3/Makefile.options        Thu Sep 08 13:39:21 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 201b3fc7e9c8 -r 481601704a4e devel/rt3/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rt3/options.mk      Thu Sep 08 13:43:05 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index