summaryrefslogtreecommitdiff
path: root/editors/abiword/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/abiword/Makefile')
-rw-r--r--editors/abiword/Makefile22
1 files changed, 2 insertions, 20 deletions
diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile
index 4835bb9f363..7f616a9c2c3 100644
--- a/editors/abiword/Makefile
+++ b/editors/abiword/Makefile
@@ -1,16 +1,14 @@
-# $NetBSD: Makefile,v 1.117 2008/11/20 21:47:16 drochner Exp $
+# $NetBSD: Makefile,v 1.118 2009/04/07 16:27:08 drochner Exp $
PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
-PKGREVISION= 7
COMMENT= Open Source cross-platform word processor
# GTK1 version and previous name of the GTK2 version
CONFLICTS= abiword-personal-[0-9]* abiword2-[0-9]*
-WRKSRC= ${WRKDIR}/${DISTNAME}/abi
USE_TOOLS+= perl
REPLACE_SH+= ${WRKDIR}/${DISTNAME}/abiword-docs/make-html.sh
@@ -37,27 +35,11 @@ CONFIGURE_ARGS+= --with-libjpeg-prefix=${BUILDLINK_PREFIX.jpeg}
CONFIGURE_ARGS+= --with-libxml2
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
-INSTALLATION_DIRS+= ${PKGMANDIR}/man1
-INSTALLATION_DIRS+= share/AbiSuite-2.4/AbiWord
-
-post-build:
- cd ${WRKDIR}/${DISTNAME}/abiword-docs/ && env \
- ABI_DOC_DEST=${WRKDIR} \
- ABI_DOC_PROG=${WRKSRC}/src/wp/main/unix/AbiWord-2.4 \
- ./make-html.sh
- find ${WRKDIR}/help -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
- find ${WRKDIR}/help \( -name "*.abw.orig" -o -name "*.abw" \
- -o -name "*.info" -o -name "*.xhtml" \) -print | ${XARGS} ${RM} -f
-
-post-install:
- ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/abiword-docs/man/abiword.1 \
- ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/abiword.1
- cp -R ${WRKDIR}/help ${DESTDIR}${PREFIX}/share/AbiSuite-2.4/AbiWord/
-
.if !empty(PKG_OPTIONS:Mgucharmap)
.include "../../fonts/gucharmap/buildlink3.mk"
.endif
.include "../../textproc/enchant/buildlink3.mk"
+.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"