summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2006-09-25 10:08:06 +0000
committersalo <salo@pkgsrc.org>2006-09-25 10:08:06 +0000
commit53259908818fa56d3acc02db0325b6bb395ab736 (patch)
tree4e72bd8056f0d2b5db39ee6d53dcf24b98de8d42 /www
parent18f01f78ce390e955410e4d973233d48de89c33f (diff)
downloadpkgsrc-53259908818fa56d3acc02db0325b6bb395ab736.tar.gz
Add standard way to depend on "seamonkey" an "firefox" backends.
Needs pkg-config. Mark as BROKEN for now, requires ancient Mozilla. ok <ghen>
Diffstat (limited to 'www')
-rw-r--r--www/skipstone/Makefile11
-rw-r--r--www/skipstone/options.mk9
2 files changed, 13 insertions, 7 deletions
diff --git a/www/skipstone/Makefile b/www/skipstone/Makefile
index cf16500c680..656876fb6b0 100644
--- a/www/skipstone/Makefile
+++ b/www/skipstone/Makefile
@@ -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 @@ COMMENT= Light and fast Gecko-based browser
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+= --enable-nls
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 --git a/www/skipstone/options.mk b/www/skipstone/options.mk
index b8730f25c09..1657ba13f8f 100644
--- a/www/skipstone/options.mk
+++ b/www/skipstone/options.mk
@@ -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 @@ PKG_SUGGESTED_OPTIONS= wget
.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