summaryrefslogtreecommitdiff
path: root/editors/AbiWord2/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-05-22 09:41:36 +0000
committerWill Andrews <will@FreeBSD.org>2000-05-22 09:41:36 +0000
commitb652eb35423693c3c9e44ff03daca0eedc0bd494 (patch)
tree7f3d992feef18a638dddbc53db0d025328ada57b /editors/AbiWord2/Makefile
parentAdd STING, a TCP-based network measurement tool that measures end-to-end (diff)
Update to 0.79.
1) Change of MAINTAINER, as dburr seems too busy to bother taking care of this port. He has never done any upgrades since originally importing it over a year ago. 2) Finally make spell-checking work. 3) Let AbiWord's own twisted Makefile mechanism install AbiWord. PR: 18692 Submitted by: Alec Wolman <wolman@cs.washington.edu>
Notes
Notes: svn path=/head/; revision=28667
Diffstat (limited to 'editors/AbiWord2/Makefile')
-rw-r--r--editors/AbiWord2/Makefile46
1 files changed, 7 insertions, 39 deletions
diff --git a/editors/AbiWord2/Makefile b/editors/AbiWord2/Makefile
index 6876ff03ebd9..e6a137584c4d 100644
--- a/editors/AbiWord2/Makefile
+++ b/editors/AbiWord2/Makefile
@@ -11,60 +11,28 @@ CATEGORIES= editors
MASTER_SITES= http://www.abisource.com/downloads/Version-${VERSION}/lf/
DISTNAME= abi-${VERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} expat-${VERSION}.tar.gz \
- unixfonts-${VERSION}.tar.gz wv-${VERSION}.tar.gz
+ unixfonts-${VERSION}.tar.gz wv-${VERSION}.tar.gz \
+ libiconv-${VERSION}.tar.gz abidistfiles-${VERSION}.tar.gz
-MAINTAINER= dburr@FreeBSD.org
+MAINTAINER= wolman@cs.washington.edu
+# unzip is needed during the installation process
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
png.3:${PORTSDIR}/graphics/png
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
DIST_SUBDIR= AbiWord
-VERSION= 0.7.6
+VERSION= 0.7.9
WRKSRC= ${WRKDIR}/abi-${VERSION}/src
USE_XLIB= yes
USE_GMAKE= yes
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config/gtk12-config
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}" GLIB_CONFIG="${GLIB_CONFIG}"
-OSDISTDIR= ${OPSYS}_`uname -r`_${ARCH}_OBJ
+MAKE_ENV= prefix="${PREFIX}"
.include <bsd.port.pre.mk>
-post-patch:
-.if ${OSVERSION} != 310000
- @${CP} ${WRKSRC}/config/platforms/freebsd.mk \
- ${WRKSRC}/config/platforms/freebsd.mk.version
- @${SED} -e s,3.1-RELEASE,`uname -r`,g \
- -e s,-D_POSIX_SOURCE,,g \
- ${WRKSRC}/config/platforms/freebsd.mk.version > \
- ${WRKSRC}/config/platforms/freebsd.mk
-.endif
-
pre-build:
@(cd ${WRKDIR}/wv && ./configure)
-do-install:
- @${MKDIR} ${PREFIX}/AbiSuite/bin
- @${MKDIR} ${PREFIX}/AbiSuite/docs
- @(cd ${WRKDIR}/abi-${VERSION}/docs; for DOCS in *; do \
- ${INSTALL_DATA} $${DOCS} ${PREFIX}/AbiSuite/docs/ \
- ;done)
- @(cd ${WRKDIR}/abi-${VERSION}/test/wp; for TEST in *; do \
- ${INSTALL_DATA} $${TEST} ${PREFIX}/AbiSuite/docs/ \
- ;done)
- @${INSTALL_PROGRAM} ${WRKSRC}/${OSDISTDIR}/bin/AbiWord_s \
- ${PREFIX}/AbiSuite/bin/
- @${LN} -sf ${PREFIX}/AbiSuite/bin/AbiWord ${PREFIX}/bin/AbiWord
- @${CP} ${WRKDIR}/unixfonts/install.sh \
- ${WRKDIR}/unixfonts/install.sh.orig
- @${SED} s,/usr/local,${PREFIX}, \
- ${WRKDIR}/unixfonts/install.sh.orig > \
- ${WRKDIR}/unixfonts/install.sh
- @(cd ${WRKDIR}/unixfonts; yes "" | ./install.sh)
- @${CAT} ${PKGDIR}/MESSAGE | ${SED} s,/usr/local,${PREFIX},
- @(${WRKSRC}/pkg/common/unix/scripts/makewrapper.sh \
- AbiWord ${PREFIX}/AbiSuite)
-
.include <bsd.port.post.mk>