diff options
author | Carlo Strub <cs@FreeBSD.org> | 2014-05-16 21:05:58 +0000 |
---|---|---|
committer | Carlo Strub <cs@FreeBSD.org> | 2014-05-16 21:05:58 +0000 |
commit | f3beb0e0e2a7426ecfd61eb06d29950ded54ca00 (patch) | |
tree | 1e6d9dc0b2e4af4fc6a4de9e4770a55526176c60 /misc | |
parent | 41c9633b8476bb56a58b4a57ae016160b1ee8cc2 (diff) | |
download | ports-f3beb0e0e2a7426ecfd61eb06d29950ded54ca00.tar.gz ports-f3beb0e0e2a7426ecfd61eb06d29950ded54ca00.zip |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/pauker/Makefile | 18 | ||||
-rw-r--r-- | misc/pauker/distinfo | 4 | ||||
-rw-r--r-- | misc/pauker/files/pauker.sh | 5 | ||||
-rw-r--r-- | misc/pauker/pkg-descr | 2 | ||||
-rw-r--r-- | misc/pauker/pkg-plist | 2 |
5 files changed, 10 insertions, 21 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> diff --git a/misc/pauker/distinfo b/misc/pauker/distinfo index c3eab1b2ce77..1163a6179555 100644 --- a/misc/pauker/distinfo +++ b/misc/pauker/distinfo @@ -1,2 +1,2 @@ -SHA256 (pauker-1.8RC2.jar) = a32adb3e70ffff5bd9531bc778d8c69fc2282b755c6698f9684283e8293abbd7 -SIZE (pauker-1.8RC2.jar) = 3421961 +SHA256 (pauker-1.8.jar) = cbc675bcbae0fc0a30d1a28d929409b5f8fd4b629b9df0c8c61760fb75380a6b +SIZE (pauker-1.8.jar) = 7663902 diff --git a/misc/pauker/files/pauker.sh b/misc/pauker/files/pauker.sh deleted file mode 100644 index 4181b3f62941..000000000000 --- a/misc/pauker/files/pauker.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ - -"%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/%%PORTNAME%%.jar" "$@" diff --git a/misc/pauker/pkg-descr b/misc/pauker/pkg-descr index 9bf477aa5766..4f7e7707ad03 100644 --- a/misc/pauker/pkg-descr +++ b/misc/pauker/pkg-descr @@ -1,3 +1,3 @@ Pauker is a Java program for flashcard learning based on the Leitner system. -WWW: http://pauker.sourceforge.net +WWW: http://pauker.sourceforge.net diff --git a/misc/pauker/pkg-plist b/misc/pauker/pkg-plist new file mode 100644 index 000000000000..e662e0807503 --- /dev/null +++ b/misc/pauker/pkg-plist @@ -0,0 +1,2 @@ +%%JAVAJARDIR%%/pauker.jar +bin/pauker |