Ticket #47156: Portfile

File Portfile, 1.3 KB (added by someuser12, 10 years ago)

Portfile proposal

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5
6name                docx2txt
7version             1.4
8categories          textproc
9maintainers         nomaintainer
10license             GPL-3+
11description         Converts Docx documents to equivalent text documents.
12long_description    Perl-based command line utility to convert Microsoft Office(Tm) Docx documents to equivalent Text documents.
13
14homepage            http://${name}.sourceforge.net/
15platforms           darwin
16extract.suffix      .tgz
17master_sites        http://sourceforge.net/projects/${name}/files/${name}/v${version}/
18
19checksums           rmd160  21f96cc49362767de5d76fcf350c61fd622c15b8 \
20                    sha256  b297752910a404c1435e703d5aedb4571222bd759fa316c86ad8c8bbe58c6d1b
21
22use_configure       no
23build               {}
24destroot.args       BINDIR=${destroot}${prefix}/bin CONFIGDIR=${destroot}${prefix}/etc
25destroot.target     
26post-destroot {
27    file rename ${destroot}${prefix}/bin/${name}.pl ${destroot}${prefix}/bin/${name}
28}
29
30#livecheck.type  sourceforge
31livecheck.type  regex
32livecheck.url   http://sourceforge.net/projects/docx2txt/files/docx2txt/
33livecheck.regex v(\\d+(\\.\\d+)+)