[118861] trunk/dports/devel

ryandesign at macports.org ryandesign at macports.org
Sun Apr 13 09:53:15 PDT 2014


Revision: 118861
          https://trac.macports.org/changeset/118861
Author:   ryandesign at macports.org
Date:     2014-04-13 09:53:15 -0700 (Sun, 13 Apr 2014)
Log Message:
-----------
ccache-devel: new port, version 3.2.0-20140108, based on ccache 3.1.9; ccache 3.2.x is the first version that officially supports clang

Modified Paths:
--------------
    trunk/dports/devel/ccache/Portfile
    trunk/dports/devel/ccache-devel/Portfile

Added Paths:
-----------
    trunk/dports/devel/ccache-devel/
    trunk/dports/devel/ccache-devel/files/
    trunk/dports/devel/ccache-devel/files/patch-dev.mk.in.diff

Modified: trunk/dports/devel/ccache/Portfile
===================================================================
--- trunk/dports/devel/ccache/Portfile	2014-04-13 11:02:21 UTC (rev 118860)
+++ trunk/dports/devel/ccache/Portfile	2014-04-13 16:53:15 UTC (rev 118861)
@@ -45,4 +45,6 @@
     }
 }
 
+conflicts           ccache-devel
+
 notes "The ccache symlinks are installed in ${symlinks_dir}"

Modified: trunk/dports/devel/ccache-devel/Portfile
===================================================================
--- trunk/dports/devel/ccache/Portfile	2014-04-09 08:44:45 UTC (rev 118723)
+++ trunk/dports/devel/ccache-devel/Portfile	2014-04-13 16:53:15 UTC (rev 118861)
@@ -2,14 +2,16 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 
-name                ccache
-version             3.1.9
+github.setup        jrosdahl ccache c0b40b8b634ff966a097598447317a9f7754a53a
+name                ccache-devel
+version             3.2.0-20140108
 categories          devel
 platforms           darwin freebsd
 license             GPL-3+
 
-maintainers         landonf openmaintainer
+maintainers         landonf ryandesign openmaintainer
 
 description         object-file caching compiler wrapper
 
@@ -20,18 +22,31 @@
     times speedup in common compilations.
 
 homepage            http://ccache.samba.org/
-master_sites        http://samba.org/ftp/ccache/
-use_bzip2 yes
 
-checksums           sha1    e80a5cb7301e72f675097246d722505ae56e3cd3 \
-                    rmd160  9b6941d02b65396fe100668a7e79d78d04250cb0
+checksums           rmd160  dbb6552f564e83db636fd225c44f8c6bb5ee9951 \
+                    sha256  573f738adeb4b3bfcd2d09b3823f995b4df474ffad8b0a49f1b4b15f941f45eb
 
-configure.args      --mandir=${prefix}/share/man
+depends_build       port:asciidoc \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool \
+                    port:libxslt
 
+depends_lib         port:zlib
+
+patchfiles          patch-dev.mk.in.diff
+
+post-patch {
+    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/dev.mk.in
+}
+
+use_autoconf        yes
+autoconf.cmd        ./autogen.sh
+
+build.target-append ccache.1
+
 set symlinks_dir    ${prefix}/libexec/ccache
 
-depends_lib         port:zlib
-
 post-destroot {
     file mkdir ${destroot}${symlinks_dir}
 
@@ -45,4 +60,6 @@
     }
 }
 
+conflicts           ccache
+
 notes "The ccache symlinks are installed in ${symlinks_dir}"

Added: trunk/dports/devel/ccache-devel/files/patch-dev.mk.in.diff
===================================================================
--- trunk/dports/devel/ccache-devel/files/patch-dev.mk.in.diff	                        (rev 0)
+++ trunk/dports/devel/ccache-devel/files/patch-dev.mk.in.diff	2014-04-13 16:53:15 UTC (rev 118861)
@@ -0,0 +1,13 @@
+--- dev.mk.in.orig	2014-01-08 14:28:40.000000000 -0600
++++ dev.mk.in	2014-04-09 21:11:24.000000000 -0500
+@@ -6,9 +6,7 @@
+ ASCIIDOC = asciidoc
+ GPERF = gperf
+ XSLTPROC = xsltproc
+-MANPAGE_XSL = $(shell if [ -e /usr/local/etc/asciidoc/docbook-xsl/manpage.xsl ]; \
+-                then echo /usr/local/etc/asciidoc/docbook-xsl/manpage.xsl; \
+-                else echo /etc/asciidoc/docbook-xsl/manpage.xsl; fi)
++MANPAGE_XSL = @PREFIX@/etc/asciidoc/docbook-xsl/manpage.xsl
+ 
+ 
+ version := \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140413/595f5f40/attachment.html>


More information about the macports-changes mailing list