From 08a32c12cabec90f6a83c20c9f3c4063682fa73e Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Mon, 21 Mar 2005 04:53:12 +0000 Subject: Add WITH_MOZILLA knob to support build with firefox, mozilla is default. As for thunderbird and mozilla-devel, I am not going to add them without test. If anyone want/need, then send tmclaugh or me patch(es). Approved by: tmclaugh (maintainer) in #freebsd-gnome (irc.freenode.net) --- net/blam/Makefile | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'net/blam') diff --git a/net/blam/Makefile b/net/blam/Makefile index 6431c7839b76..60a38137dfdf 100644 --- a/net/blam/Makefile +++ b/net/blam/Makefile @@ -8,7 +8,7 @@ PORTNAME= blam PORTVERSION= 1.6.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.6 @@ -20,15 +20,33 @@ BUILD_DEPENDS= gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp \ ${X11BASE}/libdata/pkgconfig/gecko-sharp.pc:${PORTSDIR}/www/gecko-sharp RUN_DEPENDS= ${BUILD_DEPENDS} +.if !defined(WITH_MOZILLA) +MOZILLA= mozilla +.else +.if ${WITH_MOZILLA}=="firefox" +MOZILLA= firefox +.else +MOZILLA= mozilla +.endif +.endif + USE_GNOME= gnomeprefix gnomehack intltool libgnomeui USE_BZIP2= yes USE_X_PREFIX= yes USE_LIBTOOL_VER=15 USE_GMAKE= yes - +CONFIGURE_ARGS= --with-mozilla=${MOZILLA} CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" GCONF_SCHEMAS= blam.schemas +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} " By default ${PORTNAME} uses www/mozilla for html rendering, but you can" + @${ECHO_MSG} " change this by defining WITH_MOZILLA to one of the following values:" + @${ECHO_MSG} "" + @${ECHO_MSG} " firefox " + @${ECHO_MSG} "" + .include -- cgit v1.2.3