aboutsummaryrefslogtreecommitdiff
path: root/misc/pauker/Makefile
diff options
context:
space:
mode:
authorCarlo Strub <cs@FreeBSD.org>2014-05-16 21:05:58 +0000
committerCarlo Strub <cs@FreeBSD.org>2014-05-16 21:05:58 +0000
commitf3beb0e0e2a7426ecfd61eb06d29950ded54ca00 (patch)
tree1e6d9dc0b2e4af4fc6a4de9e4770a55526176c60 /misc/pauker/Makefile
parent41c9633b8476bb56a58b4a57ae016160b1ee8cc2 (diff)
downloadports-f3beb0e0e2a7426ecfd61eb06d29950ded54ca00.tar.gz
ports-f3beb0e0e2a7426ecfd61eb06d29950ded54ca00.zip
Notes
Diffstat (limited to 'misc/pauker/Makefile')
-rw-r--r--misc/pauker/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/misc/pauker/Makefile b/misc/pauker/Makefile
index 1d6e32bd921d..02ebd6a23a77 100644
--- a/misc/pauker/Makefile
+++ b/misc/pauker/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= pauker
-DISTVERSION= 1.8RC2
-PORTREVISION= 1
+DISTVERSION= 1.8
CATEGORIES= misc java
-MASTER_SITES= SF/${PORTNAME}/OldFiles
+MASTER_SITES= SF
EXTRACT_SUFX= .jar
EXTRACT_ONLY=
@@ -16,16 +15,9 @@ USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
-PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar bin/${PORTNAME}
-
-NO_STAGE= yes
do-install:
- @${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
- @${SED} -e "s:%%LOCALBASE%%:${LOCALBASE}:" \
- -e "s:%%JAVAJARDIR%%:${JAVAJARDIR}:" \
- -e "s:%%PORTNAME%%:${PORTNAME}:" \
- ${FILESDIR}/pauker.sh > ${PREFIX}/bin/${PORTNAME}
- @${CHOWN} ${BINOWN}:${BINGRP} ${PREFIX}/bin/${PORTNAME}
- @${CHMOD} a+rx ${PREFIX}/bin/${PORTNAME}
+ @${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/pauker.jar
+ @${PRINTF} "#!/bin/sh\nexec \"${JAVA}\" -jar \"${JAVAJARDIR}/pauker.jar\" \"\$$@\"\n" > ${WRKDIR}/pauker
+ @${INSTALL_SCRIPT} ${WRKDIR}/pauker ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>