source: trunk/dports/textproc/c2html/Portfile

Last change on this file was 116177, checked in by sean@…, 4 years ago

c2html: remove files that previously skipped destroot

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
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: Portfile 116177 2014-01-21 04:49:02Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                c2html
7version             0.9.6
8revision            1
9epoch               1
10categories          textproc
11maintainers         toby
12
13description         c2html converts C source files to highlighted html
14long_description \
15    c2html is a program which converts C source files to \
16    highlighted html files. The produced file can be used for \
17    creating technical manuals. A highlighted source code listing \
18    is usually much easier to read.
19
20homepage            https://launchpad.net/ubuntu/+source/${name}
21platforms           darwin
22license             GPL-2
23
24master_sites        https://launchpad.net/ubuntu/+archive/primary/+files
25distname            ${name}_${version}.orig
26worksrcdir          ${name}-${version}
27
28checksums           rmd160  d9c70c6193f917c9a3d2ef9845004c2f4081eb8b \
29                    sha256  652924a3030456f8fd0ed4fc5fe424750c7c7d70eb133eac0cecf0ddcbcab85a
30
31patchfiles          patch-Makefile.in.diff \
32                    patch-man.diff
33
34configure.args      --mandir=${prefix}/share/man
35
36pre-activate {
37    set cachefile ${prefix}/share/man/man1/c2html.1
38    if {[file exists $cachefile] && [registry_file_registered $cachefile] == "0"} {
39        file delete -force $cachefile
40    }
41}
42
43livecheck.version   ${version}-3
44livecheck.type      regex
45livecheck.regex     ${name}/(\[0-9.-\]+)
Note: See TracBrowser for help on using the repository browser.