summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-06-29 07:31:38 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-06-29 07:31:38 +0000
commit9ebd95544cd36b6dbbd3b1e37b18e14c6a02f2e6 (patch)
tree9c80f56f93d9565246bc703debe4608675102d60
parentUpdate www/phpbb to 2.0.16. (diff)
- Update to 1.0
- Always depend on xft - Clean up Makefile ChangeLog: http://www.nvu.com/download.html
Notes
Notes: svn path=/head/; revision=138158
-rw-r--r--www/kompozer/Makefile39
-rw-r--r--www/kompozer/distinfo4
-rw-r--r--www/kompozer/files/mozconfig.in1
-rw-r--r--www/nvu/Makefile39
-rw-r--r--www/nvu/distinfo4
-rw-r--r--www/nvu/files/mozconfig.in1
6 files changed, 28 insertions, 60 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
diff --git a/www/kompozer/distinfo b/www/kompozer/distinfo
index ec0230401133..3fc2c8ccb6b9 100644
--- a/www/kompozer/distinfo
+++ b/www/kompozer/distinfo
@@ -1,2 +1,2 @@
-MD5 (nvu-1.0PR-sources.tar.bz2) = fced9ea7e2ac1fada8d4b3e730368b67
-SIZE (nvu-1.0PR-sources.tar.bz2) = 29842142
+MD5 (nvu-1.0-sources.tar.bz2) = ae0f7c85e230ce8a90dc438b53be06e6
+SIZE (nvu-1.0-sources.tar.bz2) = 29687976
diff --git a/www/kompozer/files/mozconfig.in b/www/kompozer/files/mozconfig.in
index 0c6dcbda3360..5cea01fc8af2 100644
--- a/www/kompozer/files/mozconfig.in
+++ b/www/kompozer/files/mozconfig.in
@@ -36,4 +36,5 @@ ac_add_options --enable-image-decoders=default,-xbm
ac_add_options --with-system-jpeg=%%LOCALBASE%%
ac_add_options --with-system-png=%%LOCALBASE%%
ac_add_options --with-pthreads
+ac_add_options --enable-xft
ac_add_options --prefix=%%PREFIX%%
diff --git a/www/nvu/Makefile b/www/nvu/Makefile
index c58e9b1b9a82..6459842be85d 100644
--- a/www/nvu/Makefile
+++ b/www/nvu/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
diff --git a/www/nvu/distinfo b/www/nvu/distinfo
index ec0230401133..3fc2c8ccb6b9 100644
--- a/www/nvu/distinfo
+++ b/www/nvu/distinfo
@@ -1,2 +1,2 @@
-MD5 (nvu-1.0PR-sources.tar.bz2) = fced9ea7e2ac1fada8d4b3e730368b67
-SIZE (nvu-1.0PR-sources.tar.bz2) = 29842142
+MD5 (nvu-1.0-sources.tar.bz2) = ae0f7c85e230ce8a90dc438b53be06e6
+SIZE (nvu-1.0-sources.tar.bz2) = 29687976
diff --git a/www/nvu/files/mozconfig.in b/www/nvu/files/mozconfig.in
index 0c6dcbda3360..5cea01fc8af2 100644
--- a/www/nvu/files/mozconfig.in
+++ b/www/nvu/files/mozconfig.in
@@ -36,4 +36,5 @@ ac_add_options --enable-image-decoders=default,-xbm
ac_add_options --with-system-jpeg=%%LOCALBASE%%
ac_add_options --with-system-png=%%LOCALBASE%%
ac_add_options --with-pthreads
+ac_add_options --enable-xft
ac_add_options --prefix=%%PREFIX%%