1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/misc/pauker/Makefile
Carlo Strub f3beb0e0e2 - Update to 1.8
- Support staging

PR:		ports/189790
Submitted by:	Alex Stangl <alex@stangl.us> (maintainer)
2014-05-16 21:05:58 +00:00

24 lines
588 B
Makefile

# Created by: Alex Stangl <alex@stangl.us>
# $FreeBSD$
PORTNAME= pauker
DISTVERSION= 1.8
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.6+
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>