diff options
author | obache <obache@pkgsrc.org> | 2008-05-01 13:51:56 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-05-01 13:51:56 +0000 |
commit | 4f7645bf1d32525bf1f04cabb5daccdcadfedb3c (patch) | |
tree | a3fc14d0709c1d90f30e1f57aee25b4830456ee6 /textproc/catdoc | |
parent | eb18d20cce3ba116ae45261e9609ffb781efbc30 (diff) | |
download | pkgsrc-4f7645bf1d32525bf1f04cabb5daccdcadfedb3c.tar.gz |
Add destdir support to catdoc and catdoc-tk.
Fixes PR 38545.
Diffstat (limited to 'textproc/catdoc')
-rw-r--r-- | textproc/catdoc/Makefile | 4 | ||||
-rw-r--r-- | textproc/catdoc/Makefile.common | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/textproc/catdoc/Makefile b/textproc/catdoc/Makefile index 1fab2c3fd14..416d79c4257 100644 --- a/textproc/catdoc/Makefile +++ b/textproc/catdoc/Makefile @@ -1,8 +1,10 @@ -# $NetBSD: Makefile,v 1.28 2007/01/24 17:07:00 reed Exp $ +# $NetBSD: Makefile,v 1.29 2008/05/01 13:51:56 obache Exp $ # .include "Makefile.common" +PKG_DESTDIR_SUPPORT= user-destdir + CONFIGURE_ARGS+= --disable-wordview CONFIGURE_ENV+= enable_wordview=no CONFIGURE_ENV+= man1dir=${PREFIX}/${PKGMANDIR}/man1 diff --git a/textproc/catdoc/Makefile.common b/textproc/catdoc/Makefile.common index ae8e2d752a2..0c59513978f 100644 --- a/textproc/catdoc/Makefile.common +++ b/textproc/catdoc/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.13 2008/04/19 06:17:36 obache Exp $ +# $NetBSD: Makefile.common,v 1.14 2008/05/01 13:51:56 obache Exp $ # DISTNAME= catdoc-0.94.2 @@ -16,5 +16,6 @@ USE_FEATURES= glob GNU_CONFIGURE= yes CONFIGURE_ARGS+= --libdir=${PREFIX}/share +CONFIGURE_ARGS+= --with-install-root=${DESTDIR} CPPFLAGS+= -Dunix -D__unix |