pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/catdoc Do not build nor install wordview to k...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d14602f83765
branches:  trunk
changeset: 461529:d14602f83765
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Wed Sep 17 14:57:25 2003 +0000

description:
Do not build nor install wordview to keep the package small (this needs Tk).
Bump PKGREVISION to 1 because of this.  While here, split the Makefile in
two parts to help in the creation of the new catdoc-tk package.
Addresses PR pkg/18730.

diffstat:

 textproc/catdoc/Makefile         |  19 +++++--------------
 textproc/catdoc/Makefile.common  |  21 +++++++++++++++++++++
 textproc/catdoc/PLIST            |   3 +--
 textproc/catdoc/distinfo         |   3 ++-
 textproc/catdoc/patches/patch-ad |  21 +++++++++++++++++++++
 5 files changed, 50 insertions(+), 17 deletions(-)

diffs (103 lines):

diff -r 2ea5408f4071 -r d14602f83765 textproc/catdoc/Makefile
--- a/textproc/catdoc/Makefile  Wed Sep 17 14:44:13 2003 +0000
+++ b/textproc/catdoc/Makefile  Wed Sep 17 14:57:25 2003 +0000
@@ -1,20 +1,11 @@
-# $NetBSD: Makefile,v 1.24 2003/07/21 17:27:27 martti Exp $
+# $NetBSD: Makefile,v 1.25 2003/09/17 14:57:25 jmmv Exp $
 #
 
-DISTNAME=      catdoc-0.91.4
-WRKSRC=                ${WRKDIR}/catdoc
-CATEGORIES=    textproc
-MASTER_SITES=  http://www.go.dlr.de/fresh/unix/src/misc/
+.include "Makefile.common"
 
-MAINTAINER=    tech-pkg%NetBSD.org@localhost
-HOMEPAGE=      http://www.fe.msk.ru/~vitus/catdoc/
-COMMENT=       Reads MS-Word file and puts out its content as plain text
+PKGREVISION=   1
 
-DEPENDS=       tk>=8.3.2:../../x11/tk
-
-USE_X11=       yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=       --libdir=${PREFIX}/share
-CPPFLAGS+=     -Dunix -D__unix
+CONFIGURE_ARGS+=       --disable-wordview
+CONFIGURE_ENV+=                enable_wordview=no
 
 .include "../../mk/bsd.pkg.mk"
diff -r 2ea5408f4071 -r d14602f83765 textproc/catdoc/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/catdoc/Makefile.common   Wed Sep 17 14:57:25 2003 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile.common,v 1.1 2003/09/17 14:57:26 jmmv Exp $
+#
+
+DISTNAME=      catdoc-0.91.4
+WRKSRC=                ${WRKDIR}/catdoc
+CATEGORIES=    textproc
+MASTER_SITES=  http://www.go.dlr.de/fresh/unix/src/misc/
+
+MAINTAINER=    tech-pkg%NetBSD.org@localhost
+HOMEPAGE=      http://www.fe.msk.ru/~vitus/catdoc/
+COMMENT=       Reads MS-Word file and puts out its content as plain text
+
+DISTINFO_FILE=         ${.CURDIR}/../../textproc/catdoc/distinfo
+PATCHDIR=              ${.CURDIR}/../../textproc/catdoc/patches
+
+USE_BUILDLINK2=                yes
+GNU_CONFIGURE=         yes
+
+CONFIGURE_ARGS+=       --libdir=${PREFIX}/share
+
+CPPFLAGS+=             -Dunix -D__unix
diff -r 2ea5408f4071 -r d14602f83765 textproc/catdoc/PLIST
--- a/textproc/catdoc/PLIST     Wed Sep 17 14:44:13 2003 +0000
+++ b/textproc/catdoc/PLIST     Wed Sep 17 14:57:25 2003 +0000
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:56:22 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/09/17 14:57:27 jmmv Exp $
 bin/catdoc
-bin/wordview
 bin/xls2csv
 bin/xlsview
 man/man1/catdoc.1
diff -r 2ea5408f4071 -r d14602f83765 textproc/catdoc/distinfo
--- a/textproc/catdoc/distinfo  Wed Sep 17 14:44:13 2003 +0000
+++ b/textproc/catdoc/distinfo  Wed Sep 17 14:57:25 2003 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2001/05/08 16:12:07 agc Exp $
+$NetBSD: distinfo,v 1.3 2003/09/17 14:57:27 jmmv Exp $
 
 SHA1 (catdoc-0.91.4.tar.gz) = f486345447993bc818093f84b505c2ebbb046954
 Size (catdoc-0.91.4.tar.gz) = 128428 bytes
 SHA1 (patch-aa) = 3f232d00d2bc0f55397b76674d6136da81bc887e
 SHA1 (patch-ab) = 328c6d3f1613dff35760836bf051c48fba343576
 SHA1 (patch-ac) = 4b008af59792a155421bc99d6daf31db0da50c63
+SHA1 (patch-ad) = 8c31913ccee50b7f1b26b7a2f0ab48ae9368cadd
diff -r 2ea5408f4071 -r d14602f83765 textproc/catdoc/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/catdoc/patches/patch-ad  Wed Sep 17 14:57:25 2003 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.4 2003/09/17 14:57:30 jmmv Exp $
+
+--- configure.orig     1999-12-14 11:45:12.000000000 +0100
++++ configure
+@@ -983,7 +983,6 @@ test -z "$manext" && manext=.1
+ test -z "$man1dir" && man1dir=\${prefix}/man/man1
+ installtargets="install-catdoc install-wordview"
+ buildtargets="catdoc xls2csv wordview"
+-if test -n "$WISH"; then
+ # Check whether --enable-wordview or --disable-wordview was given.
+ if test "${enable_wordview+set}" = set; then
+   enableval="$enable_wordview"
+@@ -995,8 +994,6 @@ fi
+ 
+ fi
+ 
+-fi
+-
+ echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+ echo "configure:1002: checking how to run the C preprocessor" >&5
+ # On Suns, sometimes $CPP names a directory.



Home | Main Index | Thread Index | Old Index