pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/skipstone Add standard way to depend on "seamonkey...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd4ad4074d8a
branches:  trunk
changeset: 518985:bd4ad4074d8a
user:      salo <salo%pkgsrc.org@localhost>
date:      Mon Sep 25 10:08:06 2006 +0000

description:
Add standard way to depend on "seamonkey" an "firefox" backends.
Needs pkg-config.

Mark as BROKEN for now, requires ancient Mozilla.
ok <ghen>

diffstat:

 www/skipstone/Makefile   |  11 +++++------
 www/skipstone/options.mk |   9 ++++++++-
 2 files changed, 13 insertions(+), 7 deletions(-)

diffs (61 lines):

diff -r 77dc161a53ee -r bd4ad4074d8a www/skipstone/Makefile
--- a/www/skipstone/Makefile    Mon Sep 25 09:45:31 2006 +0000
+++ b/www/skipstone/Makefile    Mon Sep 25 10:08:06 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/08/01 10:26:15 ghen Exp $
+# $NetBSD: Makefile,v 1.25 2006/09/25 10:08:06 salo Exp $
 
 DISTNAME=              skipstone-0.9.6
 CATEGORIES=            www
@@ -10,13 +10,10 @@
 
 GNU_CONFIGURE=         yes
 USE_LANGUAGES=         c c++
-USE_TOOLS+=            gmake
+USE_TOOLS+=            gmake pkg-config
 
 USE_PKGLOCALEDIR=      yes
 
-# it doesn't build with firefox headers, otherwise I'd make it an option
-MOZILLA=               mozilla-gtk2
-
 CONFIGURE_ARGS+=       --with-mozilla-includes=${PREFIX}/include/${MOZILLA}
 CONFIGURE_ARGS+=       --with-mozilla-libs=${PREFIX}/lib/${MOZILLA}
 CONFIGURE_ARGS+=       --enable-cvs-mozilla
@@ -24,8 +21,10 @@
 CONFIGURE_ARGS+=       --with-localedir=${PREFIX}/${PKGLOCALEDIR}/locale
 LDFLAGS+=              ${COMPILER_RPATH_FLAG}${PREFIX}/lib/${MOZILLA}
 
+BROKEN=                        seamonkey and firefox backends are currently not supported
+
 .include "options.mk"
 
-.include "../../www/${MOZILLA}/buildlink3.mk"
+.include "../../www/seamonkey/gecko-depends.mk"
 .include "../../x11/gtk2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 77dc161a53ee -r bd4ad4074d8a www/skipstone/options.mk
--- a/www/skipstone/options.mk  Mon Sep 25 09:45:31 2006 +0000
+++ b/www/skipstone/options.mk  Mon Sep 25 10:08:06 2006 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: options.mk,v 1.1 2005/12/28 15:47:30 ghen Exp $
+# $NetBSD: options.mk,v 1.2 2006/09/25 10:08:06 salo Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.skipstone
 PKG_SUPPORTED_OPTIONS= wget
 PKG_SUGGESTED_OPTIONS= wget
 
+.include "../../www/seamonkey/gecko-options.mk"
 .include "../../mk/bsd.options.mk"
 
 # SkipDownload uses wget to download files from the Internet, but since this
@@ -11,3 +12,9 @@
 .if !empty(PKG_OPTIONS:Mwget)
 DEPENDS+=              wget>=1:../../net/wget
 .endif
+
+.if !empty(PKG_OPTIONS:Mfirefox)
+MOZILLA=       firefox
+.elif !empty(PKG_OPTIONS:Mseamonkey)
+MOZILLA=       seamonkey
+.endif



Home | Main Index | Thread Index | Old Index