diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-02-23 18:39:36 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-02-23 18:39:36 +0000 |
commit | a33e0a54907c23e4e4732ea4bbc0069f718278ee (patch) | |
tree | 956ea08b83c134a0f9165aea2a1c11d70d6480a8 /editors/abiword-devel/Makefile | |
parent | 080e26ba5191173f395b7e69fd3e14a28653a19d (diff) |
Add AbiWord2 after repo copy from AbiWord. AbiWord2 is the GNOME Office
word processor build on Gtk 2.
Notes
Notes:
svn path=/head/; revision=76296
Diffstat (limited to 'editors/abiword-devel/Makefile')
-rw-r--r-- | editors/abiword-devel/Makefile | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/editors/abiword-devel/Makefile b/editors/abiword-devel/Makefile index 3eca7f48bac2..8b6b6a6824cd 100644 --- a/editors/abiword-devel/Makefile +++ b/editors/abiword-devel/Makefile @@ -1,12 +1,12 @@ -# New ports collection makefile for: AbiWord -# Date created: 3 Mar 1999 -# Whom: Donald Burr <dburr@FreeBSD.org> +# New ports collection makefile for: AbiWord2 +# Date created: 22 February 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ # -PORTNAME= AbiWord -PORTVERSION= 1.0.4 +PORTNAME= AbiWord2 +PORTVERSION= 1.1.3 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://www.abisource.com/downloads/Version-${PORTVERSION}/lf/ @@ -14,12 +14,15 @@ MASTER_SITE_SUBDIR= abiword DISTNAME= abiword-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org +COMMENT= An open-source, cross-platform WYSIWYG word processor # unzip is needed during the installation process BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ iconv.3:${PORTSDIR}/converters/libiconv \ - psiconv.8:${PORTSDIR}/converters/psiconv + gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \ + xml2.5:${PORTSDIR}/textproc/libxml2 \ + fribidi.0:${PORTSDIR}/converters/fribidi DIST_SUBDIR= AbiWord @@ -27,35 +30,29 @@ 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 +USE_GNOME= gnomehier WANT_GNOME= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -liconv" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -liconv" +CONFIGURE_ARGS= --enable-xft MAKEFILE= GNUmakefile -.if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD) -.undef WITHOUT_GNOME -.undef WITHOUT_ALL -WITH_GNOME= yes -.endif - .include <bsd.port.pre.mk> -# bonobox bonobox_print gnomeui gal print vfs gdk_pixbuf - -.if ${HAVE_GNOME:Mgnomeprint}!="" && ${HAVE_GNOME:Mgal}!="" && ${HAVE_GNOME:Mgnomevfs}!="" -USE_GNOME+= gnomeprint gal gnomevfs -CONFIGURE_ARGS+=--enable-gnome -PKGNAMESUFFIX= -gnome -.endif - .if exists(${LOCALBASE}/include/wv.h) 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 @@ -69,7 +66,7 @@ post-install: @${CAT} ${PKGMESSAGE} @${INSTALL_DATA} ${WRKSRC}/src/pkg/linux/rpm/data/abiword.desktop \ ${PREFIX}/share/gnome/apps/Applications/abiword.desktop - @${LN} -sf ${PREFIX}/share/AbiSuite/icons/abiword_48.png \ + @${LN} -sf ${PREFIX}/share/AbiSuite-2.0/icons/abiword_48.png \ ${PREFIX}/share/gnome/pixmaps/abiword_48.png .include <bsd.port.post.mk> |