aboutsummaryrefslogtreecommitdiff
path: root/misc/pauker/Makefile
blob: a781bb381a5fa040337aeadb0752231d0af9a8e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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

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>