diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-05-22 16:15:39 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-05-22 16:15:39 +0800 |
commit | c17f2d566262fb145b7d48b89e14b33bf23345e1 (patch) | |
tree | 95518cfa172c3d603a5cee42c3bc8a8e1a265903 /www/mozilla-devel/Makefile | |
parent | d594abf2d58572014e33aa0eb33f2c101059d08d (diff) | |
download | freebsd-ports-gnome-c17f2d566262fb145b7d48b89e14b33bf23345e1.tar.gz freebsd-ports-gnome-c17f2d566262fb145b7d48b89e14b33bf23345e1.tar.zst freebsd-ports-gnome-c17f2d566262fb145b7d48b89e14b33bf23345e1.zip |
Update to 0.9.
Diffstat (limited to 'www/mozilla-devel/Makefile')
-rw-r--r-- | www/mozilla-devel/Makefile | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile index c9bacfd2a754..690dd6ed329d 100644 --- a/www/mozilla-devel/Makefile +++ b/www/mozilla-devel/Makefile @@ -6,8 +6,7 @@ # PORTNAME= mozilla -PORTVERSION= 0.8.1 -PORTREVISION= 1 +PORTVERSION= 0.9 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_MOZILLA} @@ -16,9 +15,12 @@ DISTNAME= ${PORTNAME}-source-${PORTVERSION} MAINTAINER= reg@FreeBSD.org +BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip LIB_DEPENDS= ORBit.2:${PORTSDIR}/devel/ORBit \ jpeg.9:${PORTSDIR}/graphics/jpeg \ - png.4:${PORTSDIR}/graphics/png + png.4:${PORTSDIR}/graphics/png \ + mng.1:${PORTSDIR}/graphics/libmng \ + gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf WRKSRC= ${WRKDIR}/${PORTNAME} @@ -34,7 +36,6 @@ CONFIGURE_ARGS= \ --disable-cpp-rtti \ --disable-debug \ --disable-idltool \ - --disable-jar-packaging \ --disable-md \ --disable-pedantic \ --disable-xterm-updates \ @@ -48,9 +49,12 @@ CONFIGURE_ARGS= \ --enable-tests \ --enable-toolkit=gtk \ --enable-x11-shm \ + --enable-chrome-format=jar \ --with-jpeg=${LOCALBASE} \ --with-png=${LOCALBASE} \ + --with-mng=${LOCALBASE} \ --with-pthreads +CONFIGURE_ENV= BSD_PTHREAD_LIBS="${PTHREAD_LIBS}" MAKE_ENV= LD_LIBRARY_PATH=${WRKSRC}/dist/bin post-build: @@ -63,11 +67,15 @@ post-build: ${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \ ${ECHO} locale,install,select,en-US >> chrome/installed-chrome.txt; \ ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome) + # Prune empty chrome dirs, so we don't have to pollute PLIST with + # zillion "@exec mkdir" and "@dirrm" + @/usr/bin/find ${WRKSRC}/dist/bin -type d | \ + /usr/bin/xargs ${RMDIR} 2> /dev/null || ${TRUE} do-install: ${MKDIR} ${PREFIX}/lib/mozilla ${CHMOD} 755 ${PREFIX}/lib/mozilla - cd ${WRKSRC}/dist/bin && ${TAR} -chf - * | \ + cd ${WRKSRC}/dist/bin && ${TAR} -chf - . | \ ${TAR} -xf - -C ${PREFIX}/lib/mozilla ${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin |