[42650] trunk/dports/java

blair at macports.org blair at macports.org
Thu Nov 27 19:35:24 PST 2008


Revision: 42650
          http://trac.macports.org/changeset/42650
Author:   blair at macports.org
Date:     2008-11-27 19:35:24 -0800 (Thu, 27 Nov 2008)
Log Message:
-----------
New port for Derby, a relational database implemented entirely in Java.

Added Paths:
-----------
    trunk/dports/java/derby/
    trunk/dports/java/derby/Portfile

Added: trunk/dports/java/derby/Portfile
===================================================================
--- trunk/dports/java/derby/Portfile	                        (rev 0)
+++ trunk/dports/java/derby/Portfile	2008-11-28 03:35:24 UTC (rev 42650)
@@ -0,0 +1,68 @@
+# $Id$
+
+PortSystem 1.0
+
+name			derby
+version			10.4.2.0
+
+categories		java
+maintainers		blair
+platforms		darwin
+
+description		Relational database implemented entirely in Java
+long_description	Apache Derby, an Apache DB subproject, is an open \
+			source relational database implemented entirely in \
+			Java and available under the Apache License, Version \
+			2.0.  Some key advantages include:  1) Derby has a \
+			small footprint -- about 2 megabytes for the base \
+			engine and embedded JDBC driver.  2) Derby is based \
+			on the Java, JDBC, and SQL standards.  3) Derby \
+			provides an embedded JDBC driver that lets you \
+			embed Derby in any Java-based solution.  4) Derby \
+			also supports the more familiar client/server mode \
+			with the Derby Network Client JDBC driver and Derby \
+			Network Server.  5) Derby is easy to install, deploy, \
+			and use.
+homepage		http://db.apache.org/derby/
+
+master_sites		apache:db/derby/db-${name}-${version}
+distname		db-${name}-${version}-bin
+checksums		md5 ee9e0619c492a12fcc321d0675b44aec \
+			sha1 3a5af3c1f09cdb55bcd78e92dc26c8a1fd937b63 \
+			rmd160 9a7c8775af4b50e944dc9819bcdd7ca061eb3292
+
+depends_lib		bin:java:kaffe
+
+use_configure		no
+
+build.cmd		true
+
+destroot {
+	# Ensure needed directories
+	xinstall -m 755 -d ${destroot}${prefix}/share \
+		${destroot}${prefix}/share/doc/${name}
+
+	foreach f { dblook derby_common.sh ij sysinfo } {
+		file copy ${worksrcpath}/bin/$f ${destroot}${prefix}/bin
+	}
+
+	foreach f { KEYS LICENSE NOTICE RELEASE-NOTES.html } {
+		file copy ${worksrcpath}/$f \
+			${destroot}${prefix}/share/doc/${name}
+	}
+
+	file copy ${worksrcpath}/lib ${destroot}${prefix}/share/java
+}
+
+variant doc description {Install HTML and PDF documentation and javadocs} {
+	post-destroot {
+		foreach f { docs javadoc } {
+			file copy ${worksrcpath}/$f \
+				${destroot}${prefix}/share/doc/${name}
+		}
+	}
+}
+
+livecheck.check		regex
+livecheck.url		"http://db.apache.org/derby/releases/?C=N;O=D"
+livecheck.regex		release-(\[0-9.\]+)\.html


Property changes on: trunk/dports/java/derby/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081127/3ee7f12a/attachment.html>


More information about the macports-changes mailing list