diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-03-14 03:41:22 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-03-14 03:41:22 +0000 |
commit | 1b1bf89f0a0cd2e441c3da32de119dce16ba16a4 (patch) | |
tree | ffd258c129c8059e366cd502b2d6a88956c4a429 | |
parent | 6a5fb2dc6ba7356921e75c2899cf356abd844818 (diff) | |
download | ports-1b1bf89f0a0cd2e441c3da32de119dce16ba16a4.tar.gz ports-1b1bf89f0a0cd2e441c3da32de119dce16ba16a4.zip |
Add support for building with Firefox.
Notes
Notes:
svn path=/head/; revision=131155
-rw-r--r-- | www/epiphany-extensions/Makefile | 8 | ||||
-rw-r--r-- | www/epiphany/Makefile | 8 |
2 files changed, 13 insertions, 3 deletions
diff --git a/www/epiphany-extensions/Makefile b/www/epiphany-extensions/Makefile index ee3bb7f651b0..a1f4edffba49 100644 --- a/www/epiphany-extensions/Makefile +++ b/www/epiphany-extensions/Makefile @@ -29,6 +29,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 @@ -37,6 +40,7 @@ MOZILLA= mozilla HEADERS_SUFX= .endif .endif +.endif USE_BZIP2= yes USE_X_PREFIX= yes @@ -45,7 +49,8 @@ USE_LIBTOOL_VER=15 USE_GMAKE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" -CONFIGURE_ARGS= --with-extensions="all" +CONFIGURE_ARGS= --with-extensions="all" \ + --with-mozilla=${MOZILLA} PLIST_SUB= VERSION="1.6" EPHY_VERSION="1.6" @@ -77,6 +82,7 @@ pre-everything:: @${ECHO_MSG} " By default epiphany-extensions builds with www/mozilla support, 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} "" @${ECHO_MSG} "Epiphany-extensions also supports the following tunable option(s):" 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} "" |