summaryrefslogtreecommitdiff
path: root/misc/pauker/Makefile
blob: 8fe3a16e0181c30e5d969987e5ba1f0a84f60a08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PORTNAME=	pauker
DISTVERSION=	1.8
CATEGORIES=	misc education java
MASTER_SITES=	SF
EXTRACT_SUFX=	.jar
EXTRACT_ONLY=

MAINTAINER=	alex@stangl.us
COMMENT=	Java-based flashcard learning using the Leitner system
WWW=		https://pauker.sourceforge.net

USE_JAVA=	yes
NO_BUILD=	yes

do-install:
	@${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>