[107573] trunk/dports/textproc/c2html/Portfile
sean at macports.org
sean at macports.org
Tue Jul 2 17:41:05 PDT 2013
Revision: 107573
https://trac.macports.org/changeset/107573
Author: sean at macports.org
Date: 2013-07-02 17:41:05 -0700 (Tue, 02 Jul 2013)
Log Message:
-----------
c2html: whitespace cleanup; maintainer timeout
Modified Paths:
--------------
trunk/dports/textproc/c2html/Portfile
Modified: trunk/dports/textproc/c2html/Portfile
===================================================================
--- trunk/dports/textproc/c2html/Portfile 2013-07-03 00:41:00 UTC (rev 107572)
+++ trunk/dports/textproc/c2html/Portfile 2013-07-03 00:41:05 UTC (rev 107573)
@@ -1,43 +1,43 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name c2html
-version 1.1.0
-categories textproc
-maintainers toby
-description c2html converts C source files to highlighted html
+name c2html
+version 1.1.0
+categories textproc
+maintainers toby
+description c2html converts C source files to highlighted html
long_description \
- c2html is a program which converts C source files to \
- highlighted html files. The produced file can be used for \
- creating technical manuals. A highlighted source code listing \
- is usually much easier to read.
-homepage http://c2html.sourceforge.net/
-platforms darwin
-license GPL-2
+ c2html is a program which converts C source files to \
+ highlighted html files. The produced file can be used for \
+ creating technical manuals. A highlighted source code listing \
+ is usually much easier to read.
+homepage http://c2html.sourceforge.net/
+platforms darwin
+license GPL-2
-master_sites sourceforge
-distname ${name}_${version}
-checksums md5 819e263c4b8712ac1b7026ae8fc88d29 \
- sha1 bc9fe51875ec5d1b517f318c47429fdd00de18ee \
- rmd160 d00543035f753f7f5edb67d275cc0b6f62cc04ac
+master_sites sourceforge
+distname ${name}_${version}
+checksums md5 819e263c4b8712ac1b7026ae8fc88d29 \
+ sha1 bc9fe51875ec5d1b517f318c47429fdd00de18ee \
+ rmd160 d00543035f753f7f5edb67d275cc0b6f62cc04ac
-worksrcdir ${name}
+worksrcdir ${name}
-patchfiles patch-Makefile patch-makefile.default \
- patch-check_begin.c patch-error.c
+patchfiles patch-Makefile patch-makefile.default \
+ patch-check_begin.c patch-error.c
configure {
- reinplace "s|__CC__|${configure.cc}|" ${worksrcpath}/Makefile
- reinplace "s|__CFLAGS__|${configure.cflags}|" ${worksrcpath}/Makefile
- reinplace "s|__LDFLAGS__|${configure.ldflags}|" ${worksrcpath}/makefile.default
+ reinplace "s|__CC__|${configure.cc}|" ${worksrcpath}/Makefile
+ reinplace "s|__CFLAGS__|${configure.cflags}|" ${worksrcpath}/Makefile
+ reinplace "s|__LDFLAGS__|${configure.ldflags}|" ${worksrcpath}/makefile.default
}
destroot {
- xinstall -m 755 ${worksrcpath}/c2html ${destroot}${prefix}/bin
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 "${worksrcpath}/User manual.pdf" \
- ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 755 ${worksrcpath}/c2html ${destroot}${prefix}/bin
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 "${worksrcpath}/User manual.pdf" \
+ ${destroot}${prefix}/share/doc/${name}
}
livecheck.regex ${name} ${name} (\.*) released
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130702/5f409616/attachment.html>
More information about the macports-changes
mailing list