1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

- Update to 1.0

- Always depend on xft
- Clean up Makefile

ChangeLog:	http://www.nvu.com/download.html
This commit is contained in:
Michael Johnson 2005-06-29 07:31:38 +00:00
parent adfd245fd9
commit 9ebd95544c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138158
6 changed files with 28 additions and 60 deletions

View File

@ -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

View File

@ -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

View File

@ -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%%

View File

@ -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

View File

@ -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

View File

@ -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%%