aboutsummaryrefslogtreecommitdiffstats
path: root/science/simsmith/Makefile
blob: 1c23465625a33de032e93c19735995839c5194f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: shurd@FreeBSD.org
# $FreeBSD$

PORTNAME=   simsmith
PORTVERSION=    9.9
CATEGORIES= science hamradio
MASTER_SITES=   http://ae6ty.com/Smith_Charts_files/ \
        LOCAL/shurd
DISTNAME=   SimSmith9p9
EXTRACT_SUFX=   .jar
EXTRACT_ONLY=

MAINTAINER= hamradio@FreeBSD.org
COMMENT=    A Java-based Smith Chart program

USE_JAVA=   yes
JAVA_VERSION=   1.6+
JAVA_RUN=   yes

PLIST_FILES=    %%JAVAJARDIR%%/${DISTNAME}${EXTRACT_SUFX} \
        bin/${PORTNAME}
SUB_FILES=  simsmith
SUB_LIST+=  DISTNAME=${DISTNAME}
NO_BUILD=   yes

do-install:
    @${INSTALL_DATA} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${JAVAJARDIR}
    @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>