diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-12-14 23:42:40 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-12-14 23:42:40 +0000 |
commit | ff3980cf667af2061eeb5bcd3c7736b6f53fc6a4 (patch) | |
tree | 217ec8de155dbe95836c858da63b288b65ac5938 | |
parent | 7466742f12468c4ac3dced4c1af0ec5d0aa79001 (diff) | |
download | ports-ff3980cf667af2061eeb5bcd3c7736b6f53fc6a4.tar.gz ports-ff3980cf667af2061eeb5bcd3c7736b6f53fc6a4.zip |
Notes
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/pauker/Makefile | 33 | ||||
-rw-r--r-- | misc/pauker/distinfo | 3 | ||||
-rw-r--r-- | misc/pauker/files/pauker.sh | 5 | ||||
-rw-r--r-- | misc/pauker/pkg-descr | 3 |
5 files changed, 45 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 6dd2fcf3eca1..912f932b6858 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -381,6 +381,7 @@ SUBDIR += pantry SUBDIR += patanjali SUBDIR += patchutils + SUBDIR += pauker SUBDIR += pciids SUBDIR += pdfmap SUBDIR += pdmenu diff --git a/misc/pauker/Makefile b/misc/pauker/Makefile new file mode 100644 index 000000000000..bff88ca75c77 --- /dev/null +++ b/misc/pauker/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: pauker +# Date created: 11 November 2007 +# Whom: Alex Stangl <alex@stangl.us> +# +# $FreeBSD$ +# + +PORTNAME= pauker +DISTVERSION= 1.8RC2 +CATEGORIES= misc java +MASTER_SITES= SF +EXTRACT_SUFX= .jar +EXTRACT_ONLY= + +MAINTAINER= alex@stangl.us +COMMENT= Java-based flashcard learning using the Leitner system + +USE_JAVA= yes +JAVA_VERSION= 1.4+ +NO_BUILD= yes + +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar bin/${PORTNAME} + +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} + +.include <bsd.port.mk> diff --git a/misc/pauker/distinfo b/misc/pauker/distinfo new file mode 100644 index 000000000000..f4d99f58fe92 --- /dev/null +++ b/misc/pauker/distinfo @@ -0,0 +1,3 @@ +MD5 (pauker-1.8RC2.jar) = 9faef283c2dbd693106df79307b5b443 +SHA256 (pauker-1.8RC2.jar) = a32adb3e70ffff5bd9531bc778d8c69fc2282b755c6698f9684283e8293abbd7 +SIZE (pauker-1.8RC2.jar) = 3421961 diff --git a/misc/pauker/files/pauker.sh b/misc/pauker/files/pauker.sh new file mode 100644 index 000000000000..4181b3f62941 --- /dev/null +++ b/misc/pauker/files/pauker.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# +# $FreeBSD$ + +"%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/%%PORTNAME%%.jar" "$@" diff --git a/misc/pauker/pkg-descr b/misc/pauker/pkg-descr new file mode 100644 index 000000000000..9bf477aa5766 --- /dev/null +++ b/misc/pauker/pkg-descr @@ -0,0 +1,3 @@ +Pauker is a Java program for flashcard learning based on the Leitner system. + +WWW: http://pauker.sourceforge.net |