Ticket #5167 (closed defect: fixed)
NEW: catdoc 0.94_0
| Reported by: | julian@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.0 |
| Keywords: | Cc: | ||
| Port: |
Description
catdoc 0.94_0
the portfile is available at http://einwag.de/catdoc-port.tar.gz
Description: tools for converting MS Office files to plain text or TeX
Change History
comment:2 Changed 8 years ago by julian@…
(In reply to comment #1)
proposals: *does cattdoc really require gettext and ibiconv? So we can most probably remove configure.env LDFLAGS=-L${prefix}/lib CPPFLAGS=-I${prefix}/include as none of the binaries will link against neither of the two
Indeed, works fine without additional flags.
Corrected all of the mentioned issues, here's the patch:
--- Portfile 2005-09-28 14:19:28.000000000 +0200 +++ Portfile.new 2005-09-28 21:18:48.000000000 +0200 @@ -22,8 +22,8 @@
master_sites ftp://ftp.45.free.net/pub/catdoc/ checksums md5 f884dabe366d66c6cda35dacb0cdceab patchfiles patch-Makefile.in.diff
-depends_lib port:gettext port:gmake port:libiconv -destroot.destdir prefix=${destroot}${prefix} -configure.args --mandir=${prefix}/share/man \
- --prefix=${prefix}
-configure.env LDFLAGS=-L${prefix}/lib CPPFLAGS=-I${prefix}/include +depends_lib port:gettext port:libiconv +build.type gnu +configure.args --without-wish +destroot.destdir prefix=${destroot}${prefix} \ + mandir=${destroot}${prefix}/share/man/man1
comment:3 Changed 8 years ago by julian@…
Forgot to remove dependencies, here's the corrected patch:
--- Portfile 2005-09-28 14:19:28.000000000 +0200 +++ Portfile.new 2005-09-28 21:29:01.000000000 +0200 @@ -22,8 +22,7 @@
master_sites ftp://ftp.45.free.net/pub/catdoc/ checksums md5 f884dabe366d66c6cda35dacb0cdceab patchfiles patch-Makefile.in.diff
-depends_lib port:gettext port:gmake port:libiconv -destroot.destdir prefix=${destroot}${prefix} -configure.args --mandir=${prefix}/share/man \
- --prefix=${prefix}
-configure.env LDFLAGS=-L${prefix}/lib CPPFLAGS=-I${prefix}/include +build.type gnu +configure.args --without-wish +destroot.destdir prefix=${destroot}${prefix} \ + mandir=${destroot}${prefix}/share/man/man1


proposals: *does cattdoc really require gettext and ibiconv? So we can most probably remove configure.env LDFLAGS=-L${prefix}/lib CPPFLAGS=-I${prefix}/include as none of the binaries will link against neither of the two
*wish popping up is distractin, disable this test configure.args --without-wish --prefix=${prefix} is set automatically via configure.pre_args, --mandir has no effect here
*instead of dependening on the gnumake port (which is never called here since it supplies "gmake") use: build.type gnu
*to get the mandir right, we can cheat it in at destroot phase still: destroot.destdir prefix=${destroot}${prefix} \