1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

Update to 1.0.5.

This commit is contained in:
Joe Marcus Clarke 2003-04-03 02:55:05 +00:00
parent 89d89ea85e
commit 1e829055ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78016
4 changed files with 30 additions and 13 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= AbiWord
PORTVERSION= 1.0.4
PORTVERSION= 1.0.5
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.abisource.com/downloads/Version-${PORTVERSION}/lf/
@ -20,7 +20,8 @@ COMMENT= An open-source, cross-platform WYSIWYG word processor
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
iconv.3:${PORTSDIR}/converters/libiconv \
psiconv.8:${PORTSDIR}/converters/psiconv
psiconv.8:${PORTSDIR}/converters/psiconv \
aspell.15:${PORTSDIR}/textproc/aspell
DIST_SUBDIR= AbiWord
@ -28,11 +29,14 @@ WRKSRC= ${WRKDIR}/abiword-${PORTVERSION}/abi
USE_X_PREFIX= yes
USE_AUTOMAKE= yes
USE_AUTOMAKE_VER=14
USE_AUTOCONF_VER=213
USE_GMAKE= yes
USE_REINPLACE= yes
USE_GNOMENG= yes
USE_GNOME= gtk12 gnomehier
WANT_GNOME= yes
CONFIGURE_ARGS= --with-expat
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -liconv"
MAKEFILE= GNUmakefile
@ -57,6 +61,11 @@ PKGNAMESUFFIX= -gnome
BROKEN= "This port cannot be built when textproc/wv is installed because of a header conflict. Please remove textproc/wv, and resume the build. If textproc/wv is no longer installed, please remove ${LOCALBASE}/include/wv.h, and resume the AbiWord build"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%AUTOMAKE%%|${AUTOMAKE}|g ; \
s|%%ACLOCAL%%|${ACLOCAL}|g ; \
s|%%AUTOCONF%%|${AUTOCONF}|g' ${WRKSRC}/autogen.sh
pre-configure:
@cd ${WRKSRC} && ${TOUCH} NEWS README AUTHORS ChangeLog INSTALL
@cd ${WRKSRC}/ac-helpers && ${RM} -f install-sh mkinstalldirs missing

View File

@ -1 +1 @@
MD5 (AbiWord/abiword-1.0.4.tar.gz) = fec2f2770c29afe0d30e653b5d1d40bb
MD5 (AbiWord/abiword-1.0.5.tar.gz) = dfe86fb72afc4008e51504fd693b224e

View File

@ -1,14 +1,11 @@
$FreeBSD$
--- autogen.sh.orig Mon Mar 25 07:41:49 2002
+++ autogen.sh Tue Apr 9 12:35:41 2002
+++ autogen.sh Mon Mar 24 15:53:30 2003
@@ -10,20 +10,20 @@
set -e
-automake --version | perl -ne 'if (/\(GNU automake\) ([0-9].[0-9])/) {print; if ($1 < 1.4) {exit 1;}}'
+automake14 --version | perl -ne 'if (/\(GNU automake\) ([0-9].[0-9])/) {print; if ($1 < 1.4) {exit 1;}}'
+%%AUTOMAKE%% --version | perl -ne 'if (/\(GNU automake\) ([0-9].[0-9])/) {print; if ($1 < 1.4) {exit 1;}}'
if [ $? -ne 0 ]; then
echo "Error: you need automake 1.4 or later. Please upgrade."
@ -16,14 +13,14 @@ $FreeBSD$
fi
-if test ! -d `aclocal --print-ac-dir`; then
+if test ! -d `aclocal14 --print-ac-dir`; then
+if test ! -d `%%ACLOCAL%% --print-ac-dir`; then
echo "Bad aclocal (automake) installation"
exit 1
fi
for script in `cd ac-helpers/fallback; echo *.m4`; do
- if test -r `aclocal --print-ac-dir`/$script; then
+ if test -r `aclocal14 --print-ac-dir`/$script; then
+ if test -r `%%ACLOCAL%% --print-ac-dir`/$script; then
# Perhaps it was installed recently
rm -f ac-helpers/$script
else
@ -32,14 +29,14 @@ $FreeBSD$
# Produce aclocal.m4, so autoconf gets the automake macros it needs
echo "Creating aclocal.m4..."
-aclocal -I ac-helpers
+aclocal14 -I ac-helpers
+%%ACLOCAL%% -I ac-helpers
# autoheader
# Produce all the `GNUmakefile.in's and create neat missing things
# like `install-sh', etc.
-automake --add-missing --copy --foreign
+automake14 --add-missing --copy --foreign
+%%AUTOMAKE%% --add-missing --copy --foreign
# If there's a config.cache file, we may need to delete it.
# If we have an existing configure script, save a copy for comparison.
@ -48,7 +45,7 @@ $FreeBSD$
# Produce ./configure
echo "Creating configure..."
-autoconf
+autoconf213
+%%AUTOCONF%%
echo ""
echo "You can run ./configure now."

View File

@ -0,0 +1,11 @@
--- src/wp/ap/unix/gnome/ap_UnixGnomeApp.cpp.orig Mon Mar 24 16:09:59 2003
+++ src/wp/ap/unix/gnome/ap_UnixGnomeApp.cpp Mon Mar 24 16:10:31 2003
@@ -933,7 +933,7 @@
// actually print
s_actuallyPrint ( pDoc, pGraphics,
pPrintView, "bonobo_printed_document",
- 1, false,
+ 1, false, false,
width, height,
1, iPagesToPrint ) ;