openbsd-ports/editors/abiword/Makefile

52 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.21 2001/11/13 22:13:23 espie Exp $
BROKEN= "Needs upgrade to newer version"
COMMENT= "open-source, cross-platform WYSIWYG word processor"
2001-02-18 18:58:37 -05:00
VERSION= 0.7.12
PKGNAME= abiword-${VERSION}
1999-11-08 09:08:48 -05:00
CATEGORIES= editors
NEED_VERSION= 1.496
2001-02-18 18:58:37 -05:00
MASTER_SITES= http://www.abisource.com/downloads/Version-${VERSION}/lf/
2001-02-18 18:58:37 -05:00
DISTFILES= abi-${VERSION}.tar.gz abidistfiles.tar.gz expat.tar.gz \
libiconv.tar.gz unixfonts.tar.gz wv.tar.gz
2000-07-17 03:34:57 -04:00
DIST_SUBDIR= abiword
HOMEPAGE= http://www.abisource.com/
LIB_DEPENDS= png.2::graphics/png \
2000-07-17 03:34:57 -04:00
gtk.1.2::x11/gtk+
RUN_DEPENDS= ::textproc/ispell
1999-11-08 09:05:52 -05:00
2000-10-22 10:02:46 -04:00
MAINTAINER= Dug Song <dugsong@monkey.org>
1999-11-08 09:05:52 -05:00
2000-03-16 17:32:35 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-07-17 03:34:57 -04:00
MAKE_FLAGS= prefix="${PREFIX}"
FAKE_FLAGS= prefix="${WRKINST}${PREFIX}"
USE_GMAKE= Yes
1999-11-08 09:05:52 -05:00
ALL_TARGET= compile
WRKDIST= ${WRKDIR}/abi-${VERSION}
1999-11-08 09:05:52 -05:00
post-install:
2000-07-17 03:34:57 -04:00
@cd ${PREFIX}/bin && \
(ln -sf ${TRUEPREFIX}/AbiSuite/bin/AbiWord AbiWord; \
ln -sf ${TRUEPREFIX}/AbiSuite/bin/AbiWord abiword)
2000-07-17 03:34:57 -04:00
@strip ${PREFIX}/AbiSuite/bin/AbiWord_d
@sed \
-e s#ABISUITE_HOME=${PREFIX}/AbiSuite#ABISUITE_HOME=${TRUEPREFIX}/AbiSuite# \
-e s#ABISUITE_LIBEXEC=${PREFIX}/AbiSuite#ABISUITE_LIBEXEC=${TRUEPREFIX}/AbiSuite# \
${PREFIX}/AbiSuite/bin/AbiWord > ${WRKDIR}/AbiWord
${INSTALL_SCRIPT} ${WRKDIR}/AbiWord ${PREFIX}/AbiSuite/bin
1999-11-08 09:05:52 -05:00
.include <bsd.port.mk>