diff options
author | Donald Burr <dburr@FreeBSD.org> | 1999-05-04 12:26:02 +0000 |
---|---|---|
committer | Donald Burr <dburr@FreeBSD.org> | 1999-05-04 12:26:02 +0000 |
commit | 3ad00ec7d364b069583c0a5e7194e2f15a42a94d (patch) | |
tree | 44d0459910d64734e93b3622f0a29d2730f6b329 /editors/AbiWord | |
parent | Upgrade to 0.3.0. (diff) |
Importing new port editors/AbiWord, an Open Source, cross platform
WYSIWYG word processor.
Notes
Notes:
svn path=/head/; revision=18460
Diffstat (limited to 'editors/AbiWord')
-rw-r--r-- | editors/AbiWord/Makefile | 50 | ||||
-rw-r--r-- | editors/AbiWord/distinfo | 3 | ||||
-rw-r--r-- | editors/AbiWord/files/patch-aa | 157 | ||||
-rw-r--r-- | editors/AbiWord/pkg-comment | 1 | ||||
-rw-r--r-- | editors/AbiWord/pkg-descr | 5 | ||||
-rw-r--r-- | editors/AbiWord/pkg-message | 10 | ||||
-rw-r--r-- | editors/AbiWord/pkg-plist | 97 |
7 files changed, 323 insertions, 0 deletions
diff --git a/editors/AbiWord/Makefile b/editors/AbiWord/Makefile new file mode 100644 index 000000000000..1977f4322d64 --- /dev/null +++ b/editors/AbiWord/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: AbiWord +# Version required: 0.5.5 +# Date created: 3 Mar 1999 +# Whom: Donald Burr <dburr@FreeBSD.ORG> +# +# $Id$ +# + +DISTNAME= abi-0.5.5-src +PKGNAME= AbiWord-0.5.5 +CATEGORIES= editors +MASTER_SITES= http://www.abisource.com/downloads/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} expat.tar.gz \ + unixfonts-0.5.4.tar.gz + +MAINTAINER= dburr@FreeBSD.ORG + +BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2 +LIB_DEPENDS= gtk12.1:${PORTSDIR}/x11-toolkits/gtk12 \ + png.3:${PORTSDIR}/graphics/png +RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell + +DIST_SUBDIR= AbiWord + +WWW_SITE= http://www.abisource.com/ + +WRKSRC= ${WRKDIR}/abi-0.5.5/src +USE_XLIB= YES +USE_GMAKE= YES +PATCH_STRIP= -p1 + +# the build is placed in a directory name of the form +# FreeBSD_3.1-RELEASE_i386_OBJ. This variable makes it +# a bit easier to type this whenever it's needed in the +# do-install target. +OSDISTDIR= `uname -s`_`uname -r`_`uname -m`_OBJ + +post-patch: + cd ${WRKDIR} && ln -sf abi-0.5.5 abi + +do-install: + ${MKDIR} ${PREFIX}/AbiSuite/bin + ${MKDIR} ${PREFIX}/AbiSuite/lib + ( cd ${WRKDIR}/abi-0.5.5/dist/${OSDISTDIR}/bin ; for BIN in *; do ${INSTALL_PROGRAM} $${BIN} ${PREFIX}/AbiSuite/bin ; done ) + ( cd ${WRKDIR}/abi-0.5.5/dist/${OSDISTDIR}/lib ; for LIB in *; do ${INSTALL_DATA} $${LIB} ${PREFIX}/AbiSuite/lib ; done ) + ( cd ${WRKDIR}/unixfonts-0.5.4 ; yes "" | bash ./install.sh ) + for BIN in ${PREFIX}/AbiSuite/bin/* ; do ln -sf $${BIN} ${PREFIX}/bin ; done + @${CAT} ${PKGDIR}/MESSAGE + +.include <bsd.port.mk> diff --git a/editors/AbiWord/distinfo b/editors/AbiWord/distinfo new file mode 100644 index 000000000000..a2d2cadf1f9f --- /dev/null +++ b/editors/AbiWord/distinfo @@ -0,0 +1,3 @@ +MD5 (AbiWord/abi-0.5.5-src.tar.gz) = b22110939863bf00d724f8aa9c26e0bd +MD5 (AbiWord/expat.tar.gz) = 9eb717e45f14995754711a5816f2c6dc +MD5 (AbiWord/unixfonts-0.5.4.tar.gz) = 44da988a7a96e1f995999a039ce33537 diff --git a/editors/AbiWord/files/patch-aa b/editors/AbiWord/files/patch-aa new file mode 100644 index 000000000000..36d19072ba9a --- /dev/null +++ b/editors/AbiWord/files/patch-aa @@ -0,0 +1,157 @@ +diff -ruN src.old/af/gr/unix/Makefile src/af/gr/unix/Makefile +--- src.old/af/gr/unix/Makefile Fri Apr 9 08:47:46 1999 ++++ src/af/gr/unix/Makefile Tue May 4 03:59:30 1999 +@@ -25,7 +25,7 @@ + CPPSRCS= gr_UnixGraphics.cpp \ + gr_UnixImage.cpp + +-INCLUDES= -I/usr/X11R6/include ++INCLUDES= -I/usr/local/include -I/usr/X11R6/include + + TARGETS= $(OBJS) + +diff -ruN src.old/af/util/xp/Makefile src/af/util/xp/Makefile +--- src.old/af/util/xp/Makefile Fri Apr 9 08:47:55 1999 ++++ src/af/util/xp/Makefile Tue May 4 03:59:30 1999 +@@ -44,7 +44,8 @@ + + TARGETS= $(OBJS) + INCLUDES= -I$(ABI_DEPTH)/../../libpng \ +- -I$(ABI_DEPTH)/../../zlib ++ -I$(ABI_DEPTH)/../../zlib \ ++ -I/usr/local/include + + include $(ABI_DEPTH)/config/abi_rules.mk + +diff -ruN src.old/af/util/xp/ut_png.cpp src/af/util/xp/ut_png.cpp +--- src.old/af/util/xp/ut_png.cpp Fri Feb 19 09:20:25 1999 ++++ src/af/util/xp/ut_png.cpp Tue May 4 03:59:30 1999 +@@ -17,7 +17,7 @@ + * 02111-1307, USA. + */ + +-#include "png.h" ++#include <png.h> + + #include "ut_assert.h" + #include "ut_bytebuf.h" +diff -ruN src.old/af/xap/unix/Makefile src/af/xap/unix/Makefile +--- src.old/af/xap/unix/Makefile Tue Apr 20 19:50:40 1999 ++++ src/af/xap/unix/Makefile Tue May 4 03:59:30 1999 +@@ -42,7 +42,7 @@ + xap_UnixPSGraphics.cpp + + TARGETS= $(OBJS) +-INCLUDES= -I/usr/X11R6/include ++INCLUDES= -I/usr/local/include -I/usr/X11R6/include + + include $(ABI_DEPTH)/config/abi_rules.mk + +diff -ruN src.old/af/xap/unix/xap_UnixDlg_FileOpenSaveAs.cpp src/af/xap/unix/xap_UnixDlg_FileOpenSaveAs.cpp +--- src.old/af/xap/unix/xap_UnixDlg_FileOpenSaveAs.cpp Thu Apr 22 12:11:15 1999 ++++ src/af/xap/unix/xap_UnixDlg_FileOpenSaveAs.cpp Tue May 4 03:59:30 1999 +@@ -22,6 +22,7 @@ + #include <stdlib.h> + #include <string.h> + #include <strings.h> ++#include <sys/types.h> + #include <sys/stat.h> + #include <unistd.h> + #include "ut_string.h" +diff -ruN src.old/af/xap/unix/xap_UnixFont.cpp src/af/xap/unix/xap_UnixFont.cpp +--- src.old/af/xap/unix/xap_UnixFont.cpp Tue Apr 20 07:35:11 1999 ++++ src/af/xap/unix/xap_UnixFont.cpp Tue May 4 03:59:30 1999 +@@ -21,6 +21,7 @@ + #include <stdarg.h> + #include <stdlib.h> + #include <string.h> ++#include <sys/types.h> + #include <sys/stat.h> + + #include "ut_string.h" +diff -ruN src.old/config/abi_defs.mk src/config/abi_defs.mk +--- src.old/config/abi_defs.mk Thu Apr 29 10:46:27 1999 ++++ src/config/abi_defs.mk Tue May 4 03:59:30 1999 +@@ -230,8 +230,8 @@ + ## We should change this when get non-gtk versions on unix.... + + ifeq ($(ABI_NATIVE),unix) +-CFLAGS += `gtk-config --cflags` +-EXTRA_LIBS += `gtk-config --libs` ++CFLAGS += `gtk12-config --cflags` ++EXTRA_LIBS += `gtk12-config --libs` + endif + + ################################################################## +diff -ruN src.old/config/require/unix/Makefile src/config/require/unix/Makefile +--- src.old/config/require/unix/Makefile Fri Apr 9 09:20:30 1999 ++++ src/config/require/unix/Makefile Tue May 4 03:59:30 1999 +@@ -48,12 +48,12 @@ + REQ_GTK_BUILD=13 + + _GLIB_: +- @glib-config --version >/dev/null 2>&1 \ ++ @glib12-config --version >/dev/null 2>&1 \ + || (echo glib not found; exit 1) + @echo TODO verify version is greater than 1.1.?? + + _GTK_: +- @gtk-config --version >/dev/null 2>&1 \ ++ @gtk12-config --version >/dev/null 2>&1 \ + || (echo gtk not found; exit 1) + @echo TODO verify version is greater than 1.1.?? + +diff -ruN src.old/hello/main/unix/Makefile src/hello/main/unix/Makefile +--- src.old/hello/main/unix/Makefile Fri Apr 9 09:43:52 1999 ++++ src/hello/main/unix/Makefile Tue May 4 03:59:30 1999 +@@ -24,7 +24,7 @@ + + CPPSRCS= UnixMain.cpp + +-INCLUDES= `gtk-config --cflags` ++INCLUDES= `gtk12-config --cflags` + + PROGRAM= AbiHello + +diff -ruN src.old/wp/ap/unix/ap_UnixApp.cpp src/wp/ap/unix/ap_UnixApp.cpp +--- src.old/wp/ap/unix/ap_UnixApp.cpp Mon Apr 26 13:39:41 1999 ++++ src/wp/ap/unix/ap_UnixApp.cpp Tue May 4 03:59:30 1999 +@@ -28,6 +28,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <sys/types.h> + #include <sys/stat.h> + + #include "ut_debugmsg.h" +diff -ruN src.old/wp/ap/xp/ap_Prefs_SchemeIds.h src/wp/ap/xp/ap_Prefs_SchemeIds.h +--- src.old/wp/ap/xp/ap_Prefs_SchemeIds.h Sun Apr 18 22:29:36 1999 ++++ src/wp/ap/xp/ap_Prefs_SchemeIds.h Tue May 4 04:03:32 1999 +@@ -50,13 +50,13 @@ + #define AP_PREF_KEY_StringSet "StringSet" + #define AP_PREF_DEFAULT_StringSet "EnUS" /* name of dialog/msgbox strings */ + #define AP_PREF_KEY_BeOSISpellDirectory "BeOSISpellDirectory" +-#define AP_PREF_DEFAULT_BeOSISpellDirectory "/usr/lib/ispell" /* where we find hash files */ /* TODO DECIDE WHERE THIS SHOULD BE */ ++#define AP_PREF_DEFAULT_BeOSISpellDirectory "/usr/local/lib" /* where we find hash files */ /* TODO DECIDE WHERE THIS SHOULD BE */ + + #define AP_PREF_KEY_BeOSStringSetDirectory "BeOSStringSetDirectory" + #define AP_PREF_DEFAULT_BeOSStringSetDirectory "/boot/home/config/settings/AbiSuite/AbiWord/lib" /* where we find StringSets */ /* TODO DECIDE WHERE THIS SHOULD BE */ + + #define AP_PREF_KEY_UnixISpellDirectory "UnixISpellDirectory" +-#define AP_PREF_DEFAULT_UnixISpellDirectory "/usr/lib/ispell" /* where we find hash files */ /* TODO DECIDE WHERE THIS SHOULD BE */ ++#define AP_PREF_DEFAULT_UnixISpellDirectory "/usr/local/lib" /* where we find hash files */ /* TODO DECIDE WHERE THIS SHOULD BE */ + + #define AP_PREF_KEY_UnixStringSetDirectory "UnixStringSetDirectory" + #define AP_PREF_DEFAULT_UnixStringSetDirectory "/usr/local/AbiSuite/AbiWord/lib" /* where we find StringSets */ /* TODO DECIDE WHERE THIS SHOULD BE */ +diff -ruN src.old/wp/main/unix/Makefile src/wp/main/unix/Makefile +--- src.old/wp/main/unix/Makefile Fri Apr 9 09:13:48 1999 ++++ src/wp/main/unix/Makefile Tue May 4 03:59:30 1999 +@@ -24,7 +24,7 @@ + + CPPSRCS= UnixMain.cpp + +-INCLUDES= `gtk-config --cflags` ++INCLUDES= `gtk12-config --cflags` + + PROGRAM= AbiWord + diff --git a/editors/AbiWord/pkg-comment b/editors/AbiWord/pkg-comment new file mode 100644 index 000000000000..a385a97c7efc --- /dev/null +++ b/editors/AbiWord/pkg-comment @@ -0,0 +1 @@ +An open-source, cross-platform WYSIWYG word processor. diff --git a/editors/AbiWord/pkg-descr b/editors/AbiWord/pkg-descr new file mode 100644 index 000000000000..fe3e55d2aed0 --- /dev/null +++ b/editors/AbiWord/pkg-descr @@ -0,0 +1,5 @@ +AbiWord is an open-source, cross-platform WYSIWYG word processor, based +on the GTK tool kit. + +For more information, or to see screenshots, visit the AbiSource home page +at http://www.abisource.com/. diff --git a/editors/AbiWord/pkg-message b/editors/AbiWord/pkg-message new file mode 100644 index 000000000000..583418f26ac1 --- /dev/null +++ b/editors/AbiWord/pkg-message @@ -0,0 +1,10 @@ +You must add the ${PREFIX}/AbiSuite/lib/fonts directory to your X server's +font path. For XFree86, add the line: + +FontPath "/usr/local/AbiSuite/lib/fonts/" + +in the "Files" section of your /etc/XF86Config file. +If you use a different X server, please see its documentation on how to do +this. + +Then re-start your X server. diff --git a/editors/AbiWord/pkg-plist b/editors/AbiWord/pkg-plist new file mode 100644 index 000000000000..31089b720a94 --- /dev/null +++ b/editors/AbiWord/pkg-plist @@ -0,0 +1,97 @@ +bin/AbiWord +AbiSuite/bin/AbiWord +AbiSuite/lib/libAbiEv.a +AbiSuite/lib/libAbiFmt.a +AbiSuite/lib/libAbiGr.a +AbiSuite/lib/libAbiImpExp.a +AbiSuite/lib/libAbiPTbl.a +AbiSuite/lib/libAbiSpell.a +AbiSuite/lib/libAbiUtil.a +AbiSuite/lib/libAbiWPAp.a +AbiSuite/lib/libAbiWordVer.a +AbiSuite/lib/libAbiXAp.a +AbiSuite/lib/libAbi_expat.a +AbiSuite/lib/libMsWordView.a +AbiSuite/lib/fonts/a010013l.afm +AbiSuite/lib/fonts/a010013l.pfa +AbiSuite/lib/fonts/a010015l.afm +AbiSuite/lib/fonts/a010015l.pfa +AbiSuite/lib/fonts/a010033l.afm +AbiSuite/lib/fonts/a010033l.pfa +AbiSuite/lib/fonts/a010035l.afm +AbiSuite/lib/fonts/a010035l.pfa +AbiSuite/lib/fonts/b018012l.afm +AbiSuite/lib/fonts/b018012l.pfa +AbiSuite/lib/fonts/b018015l.afm +AbiSuite/lib/fonts/b018015l.pfa +AbiSuite/lib/fonts/b018032l.afm +AbiSuite/lib/fonts/b018032l.pfa +AbiSuite/lib/fonts/b018035l.afm +AbiSuite/lib/fonts/b018035l.pfa +AbiSuite/lib/fonts/bchb.afm +AbiSuite/lib/fonts/bchb.pfa +AbiSuite/lib/fonts/bchbi.afm +AbiSuite/lib/fonts/bchbi.pfa +AbiSuite/lib/fonts/bchr.afm +AbiSuite/lib/fonts/bchr.pfa +AbiSuite/lib/fonts/bchri.afm +AbiSuite/lib/fonts/bchri.pfa +AbiSuite/lib/fonts/c059013l.afm +AbiSuite/lib/fonts/c059013l.pfa +AbiSuite/lib/fonts/c059016l.afm +AbiSuite/lib/fonts/c059016l.pfa +AbiSuite/lib/fonts/c059033l.afm +AbiSuite/lib/fonts/c059033l.pfa +AbiSuite/lib/fonts/c059036l.afm +AbiSuite/lib/fonts/c059036l.pfa +AbiSuite/lib/fonts/d050000l.afm +AbiSuite/lib/fonts/d050000l.pfa +AbiSuite/lib/fonts/fonts.dir +AbiSuite/lib/fonts/n019003l.afm +AbiSuite/lib/fonts/n019003l.pfa +AbiSuite/lib/fonts/n019004l.afm +AbiSuite/lib/fonts/n019004l.pfa +AbiSuite/lib/fonts/n019023l.afm +AbiSuite/lib/fonts/n019023l.pfa +AbiSuite/lib/fonts/n019024l.afm +AbiSuite/lib/fonts/n019024l.pfa +AbiSuite/lib/fonts/n019043l.afm +AbiSuite/lib/fonts/n019043l.pfa +AbiSuite/lib/fonts/n019044l.afm +AbiSuite/lib/fonts/n019044l.pfa +AbiSuite/lib/fonts/n019063l.afm +AbiSuite/lib/fonts/n019063l.pfa +AbiSuite/lib/fonts/n019064l.afm +AbiSuite/lib/fonts/n019064l.pfa +AbiSuite/lib/fonts/n021003l.afm +AbiSuite/lib/fonts/n021003l.pfa +AbiSuite/lib/fonts/n021004l.afm +AbiSuite/lib/fonts/n021004l.pfa +AbiSuite/lib/fonts/n021023l.afm +AbiSuite/lib/fonts/n021023l.pfa +AbiSuite/lib/fonts/n021024l.afm +AbiSuite/lib/fonts/n021024l.pfa +AbiSuite/lib/fonts/n022003l.afm +AbiSuite/lib/fonts/n022003l.pfa +AbiSuite/lib/fonts/n022004l.afm +AbiSuite/lib/fonts/n022004l.pfa +AbiSuite/lib/fonts/n022023l.afm +AbiSuite/lib/fonts/n022023l.pfa +AbiSuite/lib/fonts/n022024l.afm +AbiSuite/lib/fonts/n022024l.pfa +AbiSuite/lib/fonts/p052003l.afm +AbiSuite/lib/fonts/p052003l.pfa +AbiSuite/lib/fonts/p052004l.afm +AbiSuite/lib/fonts/p052004l.pfa +AbiSuite/lib/fonts/p052023l.afm +AbiSuite/lib/fonts/p052023l.pfa +AbiSuite/lib/fonts/p052024l.afm +AbiSuite/lib/fonts/p052024l.pfa +AbiSuite/lib/fonts/s050000l.afm +AbiSuite/lib/fonts/s050000l.pfa +AbiSuite/lib/fonts/z003034l.afm +AbiSuite/lib/fonts/z003034l.pfa +@dirrm AbiSuite/lib/fonts +@dirrm AbiSuite/lib +@dirrm AbiSuite/bin +@dirrm AbiSuite |