[92946] trunk/dports/devel/tig/Portfile
g5pw at macports.org
g5pw at macports.org
Fri May 11 10:35:29 PDT 2012
Revision: 92946
https://trac.macports.org/changeset/92946
Author: g5pw at macports.org
Date: 2012-05-11 10:35:28 -0700 (Fri, 11 May 2012)
Log Message:
-----------
devel/tig:
- bumped to version 1.0
- switched to github (as per dev's notes. github is the main repo now)
- some small fixes to make it compile.
Modified Paths:
--------------
trunk/dports/devel/tig/Portfile
Modified: trunk/dports/devel/tig/Portfile
===================================================================
--- trunk/dports/devel/tig/Portfile 2012-05-11 17:25:45 UTC (rev 92945)
+++ trunk/dports/devel/tig/Portfile 2012-05-11 17:35:28 UTC (rev 92946)
@@ -2,9 +2,9 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
-name tig
-version 0.18
+github.setup jonas tig 1.0 tig-
categories devel
maintainers cal openmaintainer
description A text interface to git repositories
@@ -13,22 +13,32 @@
homepage http://jonas.nitro.dk/tig/
platforms darwin
-master_sites ${homepage}releases/
+checksums sha1 090830c1b3d2d979e2986ff7f089f3365e5a2e9d \
+ rmd160 ff12c694cfc1de38349c644980eb9cdbe9b147fb
-checksums sha1 0dda234cb6d340cff0e751131b10b321a122ad1a \
- rmd160 a59c04d373ab14db0db0e3b7e35d74b46bfb3bee
-
depends_lib port:git-core \
port:libiconv \
- port:ncurses
+ port:ncurses \
+ port:autoconf \
+ port:asciidoc
-# doesn't do anything in current version
+# Just a small patch: graph->position is type size_t which on my machine is unsigned.
+# so clang happily detects an expression which is always false and dies with an error.
+post-patch {
+ reinplace "s/graph->position < 0/false/" $worksrcpath/graph.c
+}
+
+# We need to create the configure file,
+# the github version does not contain it.
+pre-configure {
+ system -W ${worksrcpath} "make configure"
+}
+
build.target-append doc-man
destroot.target-append \
install-doc-man
variant html_doc description {Build HTML documentation with asciidoc} {
- depends_build-append port:asciidoc
build.target-append doc-html
destroot.target-append install-doc-html
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120511/920391aa/attachment.html>
More information about the macports-changes
mailing list