summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorIsmael Luceno2014-12-22 17:06:03 -0300
committerIsmael Luceno2014-12-22 17:20:54 -0300
commit21af751d1e1c91c0fcb758a0182b05ddb6302dd5 (patch)
treede9757ce3077dc313ee73e44ed21ffe0bd53a507 /java
parentcaee82fc09156abe40cff4d54254604a37c7fcff (diff)
jakarta-velocity: Normalize SPELL field and remove PKG_* variables
Diffstat (limited to 'java')
-rw-r--r--[-rwxr-xr-x]java/jakarta-velocity/DETAILS12
-rw-r--r--java/jakarta-velocity/HISTORY3
-rwxr-xr-xjava/jakarta-velocity/INSTALL6
3 files changed, 11 insertions, 10 deletions
diff --git a/java/jakarta-velocity/DETAILS b/java/jakarta-velocity/DETAILS
index 6d1ac18ca0..869c820eb1 100755..100644
--- a/java/jakarta-velocity/DETAILS
+++ b/java/jakarta-velocity/DETAILS
@@ -1,11 +1,9 @@
- PKG_PROJECT=jakarta
- PKG_NAME=velocity
- SPELL=${PKG_PROJECT}-${PKG_NAME}
+ SPELL=jakarta-velocity
VERSION=1.3.1
- SOURCE=${PKG_NAME}-${VERSION}.tar.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/${PKG_NAME}-${VERSION}
- SOURCE_URL[0]=http://jakarta.apache.org/builds/$SPELL/release/v1.3.1/${SOURCE}
- SOURCE_URL[1]=ftp://ftp.sourcemage.sk/mirror/java/${SOURCE}
+ SOURCE=${SPELL#*-}-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL#*-}-$VERSION
+ SOURCE_URL[0]=http://jakarta.apache.org/builds/$SPELL/release/v$VERSION/$SOURCE
+ SOURCE_URL[1]=ftp://ftp.sourcemage.sk/mirror/java/$SOURCE
SOURCE_HASH=sha512:14780e79a72b67953388132b23eed6e41491e1247b3b9ed4fa6b2c409efa5ace0a3ba1c6b94ea138b3c502575ecbfa89be5710ff841968118e7ab7229c981a9a
LICENSE[0]=APACHE
WEB_SITE=http://jakarta.apache.org/velocity/index.html
diff --git a/java/jakarta-velocity/HISTORY b/java/jakarta-velocity/HISTORY
index 58d18cb3e5..910b13b4bd 100644
--- a/java/jakarta-velocity/HISTORY
+++ b/java/jakarta-velocity/HISTORY
@@ -1,3 +1,6 @@
+2014-12-22 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS, INSTALL: Normalize SPELL field and remove PKG_* variables
+
2006-06-29 Eric Sandall <sandalle@sourcemage.org>
* DETAILS: Removed BUILD_API=1, MAINTAINER, and UPDATED
* BUILD: Converted to build_api 2
diff --git a/java/jakarta-velocity/INSTALL b/java/jakarta-velocity/INSTALL
index 914261a88c..91b079b3b7 100755
--- a/java/jakarta-velocity/INSTALL
+++ b/java/jakarta-velocity/INSTALL
@@ -1,5 +1,5 @@
-extract_jakarta_dist ${PKG_NAME} ${PKG_NAME}-${VERSION} ${SOURCE} &&
-register_jakarta_jar ${PKG_NAME}-${VERSION}/velocity-1.3.1-rc2.jar \
+extract_jakarta_dist ${SPELL##*-} ${SPELL##*-}-${VERSION} ${SOURCE} &&
+register_jakarta_jar ${SPELL##*-}-${VERSION}/velocity-1.3.1-rc2.jar \
velocity.jar &&
-register_jakarta_jar ${PKG_NAME}-${VERSION}/velocity-dep-1.3.1-rc2.jar \
+register_jakarta_jar ${SPELL##*-}-${VERSION}/velocity-dep-1.3.1-rc2.jar \
velocity-dep.jar