2007-12-14 23:42:40 +00:00
|
|
|
# New ports collection makefile for: pauker
|
|
|
|
# Date created: 11 November 2007
|
|
|
|
# Whom: Alex Stangl <alex@stangl.us>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pauker
|
|
|
|
DISTVERSION= 1.8RC2
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 1
|
2007-12-14 23:42:40 +00:00
|
|
|
CATEGORIES= misc java
|
2009-08-22 00:28:34 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/OldFiles
|
2007-12-14 23:42:40 +00:00
|
|
|
EXTRACT_SUFX= .jar
|
|
|
|
EXTRACT_ONLY=
|
|
|
|
|
|
|
|
MAINTAINER= alex@stangl.us
|
|
|
|
COMMENT= Java-based flashcard learning using the Leitner system
|
|
|
|
|
|
|
|
USE_JAVA= yes
|
2011-07-21 05:03:02 +00:00
|
|
|
JAVA_VERSION= 1.5+
|
2007-12-14 23:42:40 +00:00
|
|
|
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 <bsd.port.mk>
|