summaryrefslogtreecommitdiff
path: root/textproc/catdoc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-09-08 21:57:57 +0000
committerjlam <jlam@pkgsrc.org>2007-09-08 21:57:57 +0000
commit2761568ac280270d3e97f7e38922103a7a4ff840 (patch)
tree090b4461321e87c968b099c0a26b69c4da29ff20 /textproc/catdoc
parent48bbc6ce1f67bf684a69a2ea4678cd6f17f128e9 (diff)
downloadpkgsrc-2761568ac280270d3e97f7e38922103a7a4ff840.tar.gz
Convert to use the features framework.
Diffstat (limited to 'textproc/catdoc')
-rw-r--r--textproc/catdoc/Makefile.common15
1 files changed, 3 insertions, 12 deletions
diff --git a/textproc/catdoc/Makefile.common b/textproc/catdoc/Makefile.common
index 93c9945af6c..f139bf33067 100644
--- a/textproc/catdoc/Makefile.common
+++ b/textproc/catdoc/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.10 2007/09/06 21:51:54 jlam Exp $
+# $NetBSD: Makefile.common,v 1.11 2007/09/08 21:58:00 jlam Exp $
#
DISTNAME= catdoc-0.94.2
@@ -12,18 +12,9 @@ COMMENT= Converts MS Word, Excel and Powerpoint files to plain text
DISTINFO_FILE= ${.CURDIR}/../../textproc/catdoc/distinfo
PATCHDIR= ${.CURDIR}/../../textproc/catdoc/patches
-GNU_CONFIGURE= yes
+USE_FEATURES= glob nbcompat
+GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libdir=${PREFIX}/share
CPPFLAGS+= -Dunix -D__unix
-
-.include "../../mk/bsd.prefs.mk"
-
-.if !empty(LOWER_OPSYS:Mirix5*)
-. include "../../pkgtools/libnbcompat/inplace.mk" # <glob.h>
-SUBST_CLASSES+= glob_h
-SUBST_STAGE.glob_h= post-patch
-SUBST_FILES.glob_h= src/fileutil.c
-SUBST_SED.glob_h= -e "s,<glob\.h>,<nbcompat/glob.h>,"
-.endif