aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2010-12-13 05:45:01 +0800
committerglewis <glewis@FreeBSD.org>2010-12-13 05:45:01 +0800
commit9f4a52470324fbadbf4a34edd4414199448adaaa (patch)
tree2ea24511435121ab15aa68fcec4549cbe3a8ded0 /databases
parent65411c02fd75bf4ec3d04ff49281637836bba4e7 (diff)
downloadfreebsd-ports-gnome-9f4a52470324fbadbf4a34edd4414199448adaaa.tar.gz
freebsd-ports-gnome-9f4a52470324fbadbf4a34edd4414199448adaaa.tar.zst
freebsd-ports-gnome-9f4a52470324fbadbf4a34edd4414199448adaaa.zip
. Don't include the version name in the installed JAR. This is more
consistent with other ports I've looked at and will create less churn for minor version updates.
Diffstat (limited to 'databases')
-rw-r--r--databases/java-mybatis/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/databases/java-mybatis/Makefile b/databases/java-mybatis/Makefile
index 74b552d3a6f5..afccdb33267c 100644
--- a/databases/java-mybatis/Makefile
+++ b/databases/java-mybatis/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mybatis
PORTVERSION= 3.0.3
+PORTREVISION= 1
CATEGORIES= databases devel java
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX= java-
@@ -25,16 +26,17 @@ LICENSE= ASL
NO_BUILD= yes
JAR_FILE= ${PORTNAME}-${PORTVERSION}.jar
+DEST_JAR_FILE= ${PORTNAME}.jar
USER_GUIDE= MyBatis-${PORTVERSION}-User-Guide.pdf
-PLIST_FILES+= %%JAVAJARDIR%%/${JAR_FILE}
+PLIST_FILES+= %%JAVAJARDIR%%/${DEST_JAR_FILE}
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
do-install:
- @${INSTALL_DATA} ${WRKSRC}/${JAR_FILE} ${JAVAJARDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${JAR_FILE} ${JAVAJARDIR}/${DEST_JAR_FILE}
.if !defined(NOPORTDOCS)
@-${MKDIR} ${DOCSDIR}
.for f in LICENSE NOTICE