aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2010-10-14 23:46:33 +0800
committerolgeni <olgeni@FreeBSD.org>2010-10-14 23:46:33 +0800
commit5abc6cdeaf4b6df2179890e3dadc708d06d17dce (patch)
tree13518b3b137bcd006dd136e3ac89e4ddc42a8e09
parent28d9cb4ae2701bf609028d5d781dd0c5ec5c67c1 (diff)
downloadfreebsd-ports-gnome-5abc6cdeaf4b6df2179890e3dadc708d06d17dce.tar.gz
freebsd-ports-gnome-5abc6cdeaf4b6df2179890e3dadc708d06d17dce.tar.zst
freebsd-ports-gnome-5abc6cdeaf4b6df2179890e3dadc708d06d17dce.zip
Remove unneeded ${ARCH} from installed jar filenames.
-rw-r--r--devel/jna/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/jna/Makefile b/devel/jna/Makefile
index 88160feedc33..76514e0e4662 100644
--- a/devel/jna/Makefile
+++ b/devel/jna/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jna
PORTVERSION= 3.2.7
+PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= LOCAL/olgeni
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
@@ -24,7 +25,7 @@ USE_ZIP= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DOCSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-doc
-PLIST_FILES= %%JAVAJARDIR%%/jna-freebsd-${ARCH}.jar \
+PLIST_FILES= %%JAVAJARDIR%%/jna-platform.jar \
%%JAVAJARDIR%%/jna.jar
.if !defined(NOPORTDOCS)
@@ -36,7 +37,7 @@ post-patch:
@${CHMOD} 755 ${WRKSRC}/native/libffi/install-sh
do-install:
- @${INSTALL_DATA} ${WRKSRC}/build*/freebsd-${ARCH}.jar ${JAVAJARDIR}/jna-freebsd-${ARCH}.jar
+ @${INSTALL_DATA} ${WRKSRC}/build*/freebsd-${ARCH}.jar ${JAVAJARDIR}/jna-platform.jar
@${INSTALL_DATA} ${WRKSRC}/build*/jna.jar ${JAVAJARDIR}/jna.jar
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}