mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
32 lines
813 B
Makefile
32 lines
813 B
Makefile
# Created by: Alex Stangl <alex@stangl.us>
|
|
# $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}
|
|
|
|
NO_STAGE= yes
|
|
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>
|