freebsd-ports/misc/pauker/Makefile

24 lines
588 B
Makefile
Raw Normal View History

# 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>