[125462] trunk/dports/databases/tokyocabinet-clj/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Sep 18 03:03:30 PDT 2014
Revision: 125462
https://trac.macports.org/changeset/125462
Author: ryandesign at macports.org
Date: 2014-09-18 03:03:30 -0700 (Thu, 18 Sep 2014)
Log Message:
-----------
tokyocabinet-clj:
* use github portgroup
* download distfile instead of fetching from git
* add dependency on ant so that build can work on OS X 10.9 and later
* indicate that this port installs no architecture-specific files
* remove unnecessary comments
* remove unnecessary intermediate directory creation
* remove variable used only once
#44982 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/databases/tokyocabinet-clj/Portfile
Modified: trunk/dports/databases/tokyocabinet-clj/Portfile
===================================================================
--- trunk/dports/databases/tokyocabinet-clj/Portfile 2014-09-18 10:01:08 UTC (rev 125461)
+++ trunk/dports/databases/tokyocabinet-clj/Portfile 2014-09-18 10:03:30 UTC (rev 125462)
@@ -2,29 +2,28 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
+github.setup JustinTulloss tokyo-cabinet-clj cfab6104b9f3635f97968fda526218c8a706954d
name tokyocabinet-clj
version 20090505
categories databases java
maintainers ieure
license MIT
+supported_archs noarch
+
description Java API for Tokyo Cabinet, a modern DBM
long_description Clojure is a dynamic programming language for the JVM.
-homepage http://github.com/JustinTulloss/tokyo-cabinet-clj/tree/master
platforms darwin
-depends_build port:tokyocabinet port:tokyocabinet-java
-fetch.type git
-git.url git://github.com/JustinTulloss/tokyo-cabinet-clj.git
-git.branch cfab6104b9f3635f97968fda526218c8a706954d
+checksums rmd160 931581c65f5ce85ec9c6cd73d7f7b995159e792f \
+ sha256 a494737ebd50d9ca192964d88468406597380d12e19640fbf777142b059a4b6a
-variant universal {}
+depends_build bin:ant:apache-ant port:tokyocabinet port:tokyocabinet-java
-## configure ##
use_configure no
-## build ##
build.cmd ant
build.target jar
@@ -32,9 +31,7 @@
set javadir ${destroot}${prefix}/share/java
set clojuredir ${javadir}/clojure/lib
set jarfile tokyo-cabinet.jar
- set destfile ${clojuredir}/${jarfile}
- xinstall -m 0755 -d ${javadir}
xinstall -m 0755 -d ${clojuredir}
- xinstall -m 0644 -W ${worksrcpath} ${jarfile} ${destfile}
+ xinstall -m 0644 -W ${worksrcpath} ${jarfile} ${clojuredir}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140918/c1f1f43b/attachment-0001.html>
More information about the macports-changes
mailing list