freebsd-ports/editors/abiword/Makefile

48 lines
1.4 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: AbiWord
# Date created: 3 Mar 1999
# Whom: Donald Burr <dburr@FreeBSD.org>
#
1999-08-25 01:57:29 -04:00
# $FreeBSD$
#
# Note: this port cannot be built when the textproc/mswordview port is
# already installed, due to header file conflicts and the very broken
# AbiWord build system.
2000-04-13 20:25:54 -04:00
PORTNAME= AbiWord
2001-08-16 09:13:50 -04:00
PORTVERSION= 0.9.2
CATEGORIES= editors
2001-08-08 11:46:45 -04:00
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
2001-08-08 11:46:45 -04:00
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
giconv.2:${PORTSDIR}/converters/libiconv
DIST_SUBDIR= AbiWord
2001-08-08 11:46:45 -04:00
WRKSRC= ${WRKDIR}/${DISTNAME}/abi
USE_GMAKE= yes
2000-10-05 02:36:23 -04:00
USE_GTK= yes
2001-08-08 11:46:45 -04:00
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 ; \
s|\@DEFS\@|-I${WRKSRC}/../libiconv/include \@DEFS\@|g'
2001-08-08 11:46:45 -04:00
pre-configure:
@cd ${WRKSRC} && ${TOUCH} NEWS README AUTHORS ChangeLog
2001-08-16 09:13:50 -04:00
@cd ${WRKSRC}/ac-helpers && ${RM} -f install-sh mkinstalldirs missing
2001-08-08 11:46:45 -04:00
.include <bsd.port.mk>