1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

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)
This commit is contained in:
Jeremy Messenger 2005-03-21 04:53:12 +00:00
parent 41465aa51d
commit 08a32c12ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131810
3 changed files with 60 additions and 6 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -7,7 +7,7 @@
PORTNAME= gecko-sharp
PORTVERSION= 0.6
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= http://go-mono.com/archive/1.0.3/
@ -16,11 +16,29 @@ COMMENT= Mono bindings for embeding mozilla
BUILD_DEPENDS= gapi-parser:${PORTSDIR}/x11-toolkits/gtk-sharp
RUN_DEPENDS= ${BUILD_DEPENDS} \
${X11BASE}/lib/mozilla/components/libwidget_gtk2.so:${PORTSDIR}/www/mozilla
${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
.if !defined(WITH_MOZILLA)
MOZILLA= mozilla
.else
.if ${WITH_MOZILLA}=="firefox"
MOZILLA= firefox
.else
MOZILLA= mozilla
.endif
.endif
USE_GNOME= gnomehack gnometarget
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
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 <bsd.port.mk>

View File

@ -7,7 +7,7 @@
PORTNAME= gecko-sharp
PORTVERSION= 0.6
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= http://go-mono.com/archive/1.0.3/
@ -16,11 +16,29 @@ COMMENT= Mono bindings for embeding mozilla
BUILD_DEPENDS= gapi-parser:${PORTSDIR}/x11-toolkits/gtk-sharp
RUN_DEPENDS= ${BUILD_DEPENDS} \
${X11BASE}/lib/mozilla/components/libwidget_gtk2.so:${PORTSDIR}/www/mozilla
${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
.if !defined(WITH_MOZILLA)
MOZILLA= mozilla
.else
.if ${WITH_MOZILLA}=="firefox"
MOZILLA= firefox
.else
MOZILLA= mozilla
.endif
.endif
USE_GNOME= gnomehack gnometarget
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
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 <bsd.port.mk>