mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Update to 1.8
- Support staging PR: ports/189790 Submitted by: Alex Stangl <alex@stangl.us> (maintainer)
This commit is contained in:
parent
41c9633b84
commit
f3beb0e0e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354262
@ -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>
|
||||
|
@ -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
|
||||
|
@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
"%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/%%PORTNAME%%.jar" "$@"
|
@ -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
|
||||
|
2
misc/pauker/pkg-plist
Normal file
2
misc/pauker/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
%%JAVAJARDIR%%/pauker.jar
|
||||
bin/pauker
|
Loading…
Reference in New Issue
Block a user