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 23:58:37 +00:00
VERSION= 0.7.12
PKGNAME= abiword-${VERSION}
1999-11-08 14:08:48 +00:00
CATEGORIES= editors
NEED_VERSION= 1.496
2001-02-18 23:58:37 +00:00
MASTER_SITES= http://www.abisource.com/downloads/Version-${VERSION}/lf/
2001-02-18 23:58:37 +00:00
DISTFILES= abi-${VERSION}.tar.gz abidistfiles.tar.gz expat.tar.gz \
libiconv.tar.gz unixfonts.tar.gz wv.tar.gz
2000-07-17 07:34:57 +00:00
DIST_SUBDIR= abiword
HOMEPAGE= http://www.abisource.com/
LIB_DEPENDS= png.2::graphics/png \
2000-07-17 07:34:57 +00:00
gtk.1.2::x11/gtk+
RUN_DEPENDS= ::textproc/ispell
1999-11-08 14:05:52 +00:00
2000-10-22 14:02:46 +00:00
MAINTAINER= Dug Song <dugsong@monkey.org>
1999-11-08 14:05:52 +00:00
2000-03-16 22:32:35 +00:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-07-17 07:34:57 +00:00
MAKE_FLAGS= prefix="${PREFIX}"
FAKE_FLAGS= prefix="${WRKINST}${PREFIX}"
USE_GMAKE= Yes
1999-11-08 14:05:52 +00:00
ALL_TARGET= compile
WRKDIST= ${WRKDIR}/abi-${VERSION}
1999-11-08 14:05:52 +00:00
post-install:
2000-07-17 07:34:57 +00:00
@cd ${PREFIX}/bin && \
(ln -sf ${TRUEPREFIX}/AbiSuite/bin/AbiWord AbiWord; \
ln -sf ${TRUEPREFIX}/AbiSuite/bin/AbiWord abiword)
2000-07-17 07:34:57 +00: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 14:05:52 +00:00
.include <bsd.port.mk>