aboutsummaryrefslogtreecommitdiff
path: root/editors/abiword/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-08-08 15:46:45 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-08-08 15:46:45 +0000
commitbc318710eeaee30aaaab403709e15606b9789dd3 (patch)
tree68ea2945cd2444447128afcbe62e64bbe16fe276 /editors/abiword/Makefile
parent77b7ab8d63bd24a6483997c7c104105c09ca1363 (diff)
downloadports-bc318710eeaee30aaaab403709e15606b9789dd3.tar.gz
ports-bc318710eeaee30aaaab403709e15606b9789dd3.zip
Notes
Diffstat (limited to 'editors/abiword/Makefile')
-rw-r--r--editors/abiword/Makefile38
1 files changed, 22 insertions, 16 deletions
diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile
index edefb3a80227..e3c3924981cb 100644
--- a/editors/abiword/Makefile
+++ b/editors/abiword/Makefile
@@ -10,34 +10,40 @@
# AbiWord build system.
PORTNAME= AbiWord
-PORTVERSION= 0.7.13
-PORTREVISION= 1
+PORTVERSION= 0.9.0
CATEGORIES= editors
-MASTER_SITES= http://www.abisource.com/downloads/Version-${PORTVERSION}/lf/
-DISTNAME= abi-${PORTVERSION}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} expat-${PORTVERSION}.tar.gz \
- unixfonts-${PORTVERSION}.tar.gz wv-${PORTVERSION}.tar.gz \
- abidistfiles-${PORTVERSION}.tar.gz \
- psiconv-${PORTVERSION}.tar.gz libiconv-${PORTVERSION}.tar.gz
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ http://www.abisource.com/downloads/Version-${PORTVERSION}/lf/
+MASTER_SITE_SUBDIR= abiword
+DISTNAME= abiword-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
# unzip is needed during the installation process
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
-LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png
-RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
+LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
+ giconv.2:${PORTSDIR}/converters/libiconv
DIST_SUBDIR= AbiWord
-WRKSRC= ${WRKDIR}/abi/src
-USE_XLIB= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/abi
+
USE_GMAKE= yes
USE_GTK= yes
-MAKE_ENV= prefix="${PREFIX}"
+USE_AUTOMAKE= yes
+AUTOMAKE= ${WRKSRC}/autogen.sh && ${FIXME}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lgiconv"
+MAKEFILE= GNUmakefile
+
+FIXME= find ${WRKSRC} -name GNUmakefile.in | xargs ${PERL} -pi -e \
+ 's|\$$\(libdir\)/\@PACKAGE\@|\$$\(datadir\)/\@PACKAGE\@|g'
-.include <bsd.port.pre.mk>
+pre-configure:
+ @cd ${WRKSRC} && ${TOUCH} NEWS README AUTHORS ChangeLog
post-install:
- @${CAT} ${PKGMESSAGE}
+ @${LN} -sf LittleEndian32.american.hash \
+ ${PREFIX}/share/abiword/dictionary/american.hash
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>