aboutsummaryrefslogtreecommitdiff
path: root/www/epiphany
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-14 03:41:22 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-14 03:41:22 +0000
commit1b1bf89f0a0cd2e441c3da32de119dce16ba16a4 (patch)
treeffd258c129c8059e366cd502b2d6a88956c4a429 /www/epiphany
parent6a5fb2dc6ba7356921e75c2899cf356abd844818 (diff)
downloadports-1b1bf89f0a0cd2e441c3da32de119dce16ba16a4.tar.gz
ports-1b1bf89f0a0cd2e441c3da32de119dce16ba16a4.zip
Add support for building with Firefox.
Notes
Notes: svn path=/head/; revision=131155
Diffstat (limited to 'www/epiphany')
-rw-r--r--www/epiphany/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile
index 9f3afb06a15b..6fdf3b26df04 100644
--- a/www/epiphany/Makefile
+++ b/www/epiphany/Makefile
@@ -25,6 +25,9 @@ HEADERS_SUFX=
MOZILLA= mozilla
HEADERS_SUFX=
.else
+.if ${WITH_MOZILLA}=="firefox"
+MOZILLA= firefox
+.else
.if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-devel-gtk2"
MOZILLA= mozilla-devel
HEADERS_SUFX= -devel
@@ -33,6 +36,7 @@ MOZILLA= mozilla
HEADERS_SUFX=
.endif
.endif
+.endif
USE_BZIP2= yes
USE_X_PREFIX= yes
@@ -42,8 +46,7 @@ USE_LIBTOOL_VER=15
USE_GMAKE= yes
USE_REINPLACE= yes
INSTALLS_OMF= yes
-CONFIGURE_ARGS= --with-mozilla-includes="${X11BASE}/include/mozilla${HEADERS_SUFX}" \
- --with-mozilla-libs="${X11BASE}/lib/${MOZILLA}"
+CONFIGURE_ARGS= --with-mozilla=${MOZILLA}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
@@ -73,6 +76,7 @@ pre-everything::
@${ECHO_MSG} " By default epiphany 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} " mozilla-devel "
@${ECHO_MSG} ""