# Created by: Alex Stangl # $FreeBSD$ PORTNAME= pauker DISTVERSION= 1.8RC2 PORTREVISION= 1 CATEGORIES= misc java MASTER_SITES= SF/${PORTNAME}/OldFiles 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 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