Index: head/science/Makefile =================================================================== --- head/science/Makefile +++ head/science/Makefile @@ -174,6 +174,7 @@ SUBDIR += sigrok-cli SUBDIR += silo SUBDIR += simlib + SUBDIR += simsmith SUBDIR += step SUBDIR += svmlight SUBDIR += szip Index: head/science/simsmith/Makefile =================================================================== --- head/science/simsmith/Makefile +++ head/science/simsmith/Makefile @@ -0,0 +1,31 @@ +# Created by: shurd@FreeBSD.org +# $FreeBSD$ + +PORTNAME= simsmith +PORTVERSION= 9.9 +CATEGORIES= science hamradio +MASTER_SITES= http://ae6ty.com/Smith_Charts_files/ \ + ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= 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 Index: head/science/simsmith/distinfo =================================================================== --- head/science/simsmith/distinfo +++ head/science/simsmith/distinfo @@ -0,0 +1,2 @@ +SHA256 (SimSmith9p9.jar) = 2cedb3e5467fd2a0c0609c347a2fdfe4021532c94d23599dd11f85fb8a327605 +SIZE (SimSmith9p9.jar) = 3646770 Index: head/science/simsmith/files/simsmith.in =================================================================== --- head/science/simsmith/files/simsmith.in +++ head/science/simsmith/files/simsmith.in @@ -0,0 +1,5 @@ +#!/bin/sh +# +# $FreeBSD$ + +JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/%%DISTNAME%%.jar" "$@" Index: head/science/simsmith/pkg-descr =================================================================== --- head/science/simsmith/pkg-descr +++ head/science/simsmith/pkg-descr @@ -0,0 +1,13 @@ +Java based Smith chart program. Performs single-frequency and sweep charting +with both Smitch charts and SWR/PWR curves. Does drag-and-drop schematic entry +with direct entry of component values as well as "drag tuning". Can import +load parameters directly from the following: + +- EZNEC (and EZNEC GAM files) +- miniVNA and miniVNApro +- AIM4170 +- CocoaNEC +- Rig Expert ".aaplot" files +- Touchstone S1P ".s1p" files (shunt and series) + +WWW: http://ae6ty.com/Smith_Charts.html