svn commit: r303402 - in head/devel/umlgraph: . files
Kevin Lo
kevlo at FreeBSD.org
Fri Aug 31 09:17:27 UTC 2012
Author: kevlo
Date: Fri Aug 31 09:17:26 2012
New Revision: 303402
URL: http://svn.freebsd.org/changeset/ports/303402
Log:
Update to 5.6
Added:
head/devel/umlgraph/files/patch-build.xml (contents, props changed)
Modified:
head/devel/umlgraph/Makefile
head/devel/umlgraph/distinfo
Modified: head/devel/umlgraph/Makefile
==============================================================================
--- head/devel/umlgraph/Makefile Fri Aug 31 08:45:39 2012 (r303401)
+++ head/devel/umlgraph/Makefile Fri Aug 31 09:17:26 2012 (r303402)
@@ -6,8 +6,7 @@
#
PORTNAME= umlgraph
-PORTVERSION= 5.4
-PORTREVISION= 2
+PORTVERSION= 5.6
CATEGORIES= devel java
MASTER_SITES= http://www.umlgraph.org/
DISTNAME= UMLGraph-${PORTVERSION}
Modified: head/devel/umlgraph/distinfo
==============================================================================
--- head/devel/umlgraph/distinfo Fri Aug 31 08:45:39 2012 (r303401)
+++ head/devel/umlgraph/distinfo Fri Aug 31 09:17:26 2012 (r303402)
@@ -1,2 +1,2 @@
-SHA256 (UMLGraph-5.4.tar.gz) = 55534a7badc74f662518ccf460948a3068b59e3741e5d95cc38eaa059596cd2e
-SIZE (UMLGraph-5.4.tar.gz) = 4296622
+SHA256 (UMLGraph-5.6.tar.gz) = bd17dcd8074e03c3a2f08f0ccf81ec149904ab365cbeae254629c4a277740d59
+SIZE (UMLGraph-5.6.tar.gz) = 3718510
Added: head/devel/umlgraph/files/patch-build.xml
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/umlgraph/files/patch-build.xml Fri Aug 31 09:17:26 2012 (r303402)
@@ -0,0 +1,53 @@
+--- build.xml.orig 2012-06-01 00:06:09.000000000 +0800
++++ build.xml 2012-08-31 17:00:08.000000000 +0800
+@@ -17,37 +17,9 @@
+
+ <property name="dist" location="dist" />
+
+-<!-- obtain version from git; see http://techblog.41concepts.com/2009/05/08/generating-ant-build-numbers-using-subversion/ -->
+-<macrodef name="gitversion" description="Get git version.">
+- <attribute name="outputproperty"/>
+- <sequential>
+- <echo message="git describe --abbrev=6 => '@{outputproperty}'"/>
+- <exec executable="git"
+- failonerror="true"
+- outputproperty="@{outputproperty}">
+- <arg value="describe"/>
+- <arg value="--abbrev=6"/>
+- <arg value="HEAD"/>
+- <redirector>
+- <outputfilterchain>
+- <tokenfilter>
+- <replaceregex pattern="R" replace=""/>
+- <replaceregex pattern="_" replace="."/>
+- <replaceregex pattern="-" replace="."/>
+- <replaceregex pattern="(-.*)$" replace="-SNAPSHOT"/>
+- </tokenfilter>
+- </outputfilterchain>
+- </redirector>
+- </exec>
+- <echo message="gitversion returned '${@{outputproperty}}'"/>
+- </sequential>
+-</macrodef>
+-
+ <!-- define Maven coordinates; see https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-7c.DeploySnapshotsandStageReleaseswithAnt -->
+ <property name="groupId" value="org.umlgraph" />
+ <property name="artifactId" value="UmlGraph" />
+-<!-- <property name="version" value="1.0-SNAPSHOT" /> -->
+-<gitversion outputproperty="version"/>
+
+ <!-- define artifacts' name, which follows the convention of Maven -->
+ <property name="maven-jar" value="${dist}/lib/${artifactId}-${version}.jar" />
+@@ -76,12 +48,6 @@
+ </target>
+
+ <target name="version">
+- <exec executable="git"
+- outputproperty="VERSION">
+- <arg value="describe"/>
+- <arg value="--abbrev=6"/>
+- <arg value="HEAD"/>
+- </exec>
+ <echo>Version is ${VERSION}</echo>
+ <echo file="src/org/umlgraph/doclet/Version.java">/* Automatically generated file */
+ package org.umlgraph.doclet;
More information about the svn-ports-head
mailing list