diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-06-29 07:31:38 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-06-29 07:31:38 +0000 |
commit | 9ebd95544cd36b6dbbd3b1e37b18e14c6a02f2e6 (patch) | |
tree | 9c80f56f93d9565246bc703debe4608675102d60 /www/kompozer/Makefile | |
parent | adfd245fd9050849a06b9137aad00b4c14ac088f (diff) | |
download | ports-9ebd95544cd36b6dbbd3b1e37b18e14c6a02f2e6.tar.gz ports-9ebd95544cd36b6dbbd3b1e37b18e14c6a02f2e6.zip |
Notes
Diffstat (limited to 'www/kompozer/Makefile')
-rw-r--r-- | www/kompozer/Makefile | 39 |
1 files changed, 11 insertions, 28 deletions
diff --git a/www/kompozer/Makefile b/www/kompozer/Makefile index c58e9b1b9a82..6459842be85d 100644 --- a/www/kompozer/Makefile +++ b/www/kompozer/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nvu -DISTVERSION= 1.0PR +DISTVERSION= 1.0 CATEGORIES= www MASTER_SITES= http://cvs.nvu.com/download/ DISTNAME= ${PORTNAME}-${DISTVERSION}-sources @@ -14,11 +14,10 @@ DISTNAME= ${PORTNAME}-${DISTVERSION}-sources MAINTAINER= ahze@FreeBSD.org COMMENT= A complete Web Authoring System similar to Dreamweaver or Frontpage -BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - freetype-config:${PORTSDIR}/print/freetype2 +BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ - freetype.9:${PORTSDIR}/print/freetype2 + Xft.2:${PORTSDIR}/x11-fonts/libXft USE_X_PREFIX= yes USE_BZIP2= yes @@ -28,28 +27,15 @@ USE_REINPLACE= yes USE_GMAKE= yes PKGINSTALL= ${WRKDIR}/pkg-install PKGDEINSTALL= ${WRKDIR}/pkg-deinstall - -OPTIONS= XFT "Enable Xft font anti-aliasing" on \ - DEBUG "Enable debugging (i.e. gdb) support" off \ - OPTIMIZED_CFLAGS "Enable -O2 optimizations" off - NVU= ${PORTNAME}-${DISTVERSION} FAKEDIR= ${WRKDIR}/FAKE WRKSRC= ${WRKDIR}/mozilla PLIST= ${WRKDIR}/plist - MAKEFILE= client.mk ALL_TARGET= build_all - PKG_CONFIGS= nvu-gtkmozembed.pc nvu-js.pc nvu-nspr.pc \ nvu-nss.pc nvu-plugin.pc nvu-xpcom.pc - -EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude */CVS/* \ - --exclude */macbuild/*\ - --exclude */package/* \ - --exclude .cvsignore \ - --exclude makefile.win \ - --exclude MANIFEST +EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude */CVS/* .include <bsd.port.pre.mk> @@ -57,8 +43,11 @@ EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude */CVS/* \ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config_make-jars.pl .endif -.if !defined(WITHOUT_XFT) -LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft +pre-everything:: +.if !defined(WITH_OPTIMIZED_CFLAGS) + @${ECHO_MSG} "Enable -O2 optimizations by defining" + @${ECHO_MSG} "WITH_OPTIMIZED_CFLAGS" + @${ECHO_MSG} .endif post-patch: @@ -77,16 +66,10 @@ post-patch: s|%%PREFIX%%|${FAKEDIR}|; \ s|%%LOCALBASE%%|${LOCALBASE}|' \ ${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig -# Stupid workaround.. +# Stupid workaround.. .for f in toolkit/components/Makefile.in toolkit/components/gnome/Makefile.in - @${ECHO_CMD} "LDFLAGS += -L${LOCALBASE}/lib" \ - >> ${WRKSRC}/${f} + @${ECHO_CMD} "LDFLAGS += -L${LOCALBASE}/lib" >> ${WRKSRC}/${f} .endfor -.if defined(WITHOUT_XFT) - @${ECHO_CMD} "ac_add_options --disable-xft" >> ${WRKSRC}/.mozconfig -.else - @${ECHO_CMD} "ac_add_options --enable-xft" >> ${WRKSRC}/.mozconfig -.endif .if defined(WITH_DEBUG) @${ECHO_CMD} "ac_add_options --enable-debug" >> ${WRKSRC}/.mozconfig @${ECHO_CMD} "ac_add_options --disable-strip" >> ${WRKSRC}/.mozconfig |