aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorpatrick <patrick@FreeBSD.org>2003-05-16 20:19:28 +0800
committerpatrick <patrick@FreeBSD.org>2003-05-16 20:19:28 +0800
commit61b007b2e26bedfb05d6028622e59dcb596ec477 (patch)
tree10b2c30bb606f2d8a17077c1055bb90df41977c1 /comms
parent92997fc08377b358e548993edbc978601c83e591 (diff)
downloadfreebsd-ports-gnome-61b007b2e26bedfb05d6028622e59dcb596ec477.tar.gz
freebsd-ports-gnome-61b007b2e26bedfb05d6028622e59dcb596ec477.tar.zst
freebsd-ports-gnome-61b007b2e26bedfb05d6028622e59dcb596ec477.zip
Add hamlib 1.1.4,
shared libraries for Amateur Radio Equipment Control Applications. PR: 51638 Submitted by: Sebastian Yepes <esn@x123.info>
Diffstat (limited to 'comms')
-rw-r--r--comms/Makefile1
-rw-r--r--comms/hamlib/Makefile79
-rw-r--r--comms/hamlib/distinfo1
-rw-r--r--comms/hamlib/pkg-descr10
-rw-r--r--comms/hamlib/pkg-plist72
5 files changed, 163 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile
index 49d34a8b85ad..f622c33d02e3 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -18,6 +18,7 @@
SUBDIR += gkermit
SUBDIR += gnokii
SUBDIR += gsmlib
+ SUBDIR += hamlib
SUBDIR += hylafax
SUBDIR += ixj
SUBDIR += java-commapi
diff --git a/comms/hamlib/Makefile b/comms/hamlib/Makefile
new file mode 100644
index 000000000000..ba59b2468734
--- /dev/null
+++ b/comms/hamlib/Makefile
@@ -0,0 +1,79 @@
+# New ports collection makefile for: hamlib
+# Date created: 30 April 2003
+# Whom: Sebastian Yepes <esn@x123.info>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hamlib
+PORTVERSION= 1.1.4
+CATEGORIES= comms
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= esn@x123.info
+COMMENT= Shared libraries for Amateur Radio Equipment Control Applications
+
+USE_PERL5= yes
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
+
+MAN1= rigctl.1 rotctl.1
+MAN8= rpc.rigd.8 rpc.rotd.8
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_TCL)
+LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83
+CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl8.3
+PLIST_SUB+= TCL=""
+.else
+CONFIGURE_ARGS+= --without-with-tcl --without-with-tcl-binding
+PLIST_SUB+= TCL="@comment "
+.endif
+
+.if defined(WITH_RIGMATRIX)
+LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
+CONFIGURE_ARGS+= --with-rigmatrix
+PLIST_SUB+= RIGMATRIX=""
+.else
+CONFIGURE_ARGS+= --without-with-rigmatrix
+PLIST_SUB+= RIGMATRIX="@comment "
+.endif
+
+.if defined(WITH_GNURADIO)
+CONFIGURE_ARGS+= --with-gnuradio
+PLIST_SUB+= GNURADIO=""
+.else
+CONFIGURE_ARGS+= --without-with-gnuradio
+PLIST_SUB+= GNURADIO="@comment "
+.endif
+
+.if defined(WITH_MICROTUNE)
+CONFIGURE_ARGS+= --with-microtune
+PLIST_SUB+= MICROTUNE=""
+.else
+CONFIGURE_ARGS+= --without-with-microtune
+PLIST_SUB+= MICROTUNE="@comment "
+.endif
+
+pre-everything::
+.if !defined(WITH_TCL) || !defined(WITH_RIGMATRIX)
+ @${ECHO_MSG} "You can specify the following command lines:"
+ @${ECHO_MSG} ""
+.endif
+.if !defined(WITH_TCL)
+ @${ECHO_MSG} "WITH_TCL=yes for TCL support"
+.endif
+.if !defined(WITH_RIGMATRIX)
+ @${ECHO_MSG} "WITH_RIGMATRIX=yes for RigMatrix support"
+.endif
+#.if !defined(WITH_GNURADIO)
+# @${ECHO_MSG} "WITH_GNURADIO=yes for GNURadio support"
+#.endif
+#.if !defined(WITH_MICROTUNE)
+# @${ECHO_MSG} "WITH_MICROTUNE=yes for MicroTune support"
+#.endif
+
+.include <bsd.port.post.mk>
diff --git a/comms/hamlib/distinfo b/comms/hamlib/distinfo
new file mode 100644
index 000000000000..a7f776ec3420
--- /dev/null
+++ b/comms/hamlib/distinfo
@@ -0,0 +1 @@
+MD5 (hamlib-1.1.4.tar.gz) = 237ade25307979c3a7226a53e3b06a84
diff --git a/comms/hamlib/pkg-descr b/comms/hamlib/pkg-descr
new file mode 100644
index 000000000000..82992c011733
--- /dev/null
+++ b/comms/hamlib/pkg-descr
@@ -0,0 +1,10 @@
+The Ham Radio Control Libraries, Hamlib for short, is a development effort
+to provide a consistent interface for programmers wanting to incorporate
+radio control in their programs.
+Hamlib will allow authors of software logging programs, digital communications
+programs, or those wanting to develop the ultimate radio control software to
+concentrate on the user interface and the basic function of the program rather
+than radio control.
+
+
+WWW: http://sourceforge.net/projects/hamlib
diff --git a/comms/hamlib/pkg-plist b/comms/hamlib/pkg-plist
new file mode 100644
index 000000000000..b21aced4114c
--- /dev/null
+++ b/comms/hamlib/pkg-plist
@@ -0,0 +1,72 @@
+bin/rigctl
+bin/rotctl
+include/hamlib/rig.h
+include/hamlib/rig_dll.h
+include/hamlib/rigclass.h
+include/hamlib/riglist.h
+include/hamlib/rotator.h
+include/hamlib/rotclass.h
+include/hamlib/rotlist.h
+lib/hamlib-alinco.a
+lib/hamlib-alinco.la
+lib/hamlib-alinco.so
+lib/hamlib-aor.a
+lib/hamlib-aor.la
+lib/hamlib-aor.so
+lib/hamlib-drake.a
+lib/hamlib-drake.la
+lib/hamlib-drake.so
+lib/hamlib-dummy.a
+lib/hamlib-dummy.la
+lib/hamlib-dummy.so
+lib/hamlib-easycomm.a
+lib/hamlib-easycomm.la
+lib/hamlib-easycomm.so
+lib/hamlib-icom.a
+lib/hamlib-icom.la
+lib/hamlib-icom.so
+lib/hamlib-jrc.a
+lib/hamlib-jrc.la
+lib/hamlib-jrc.so
+lib/hamlib-kachina.a
+lib/hamlib-kachina.la
+lib/hamlib-kachina.so
+lib/hamlib-kenwood.a
+lib/hamlib-kenwood.la
+lib/hamlib-kenwood.so
+lib/hamlib-pcr.a
+lib/hamlib-pcr.la
+lib/hamlib-pcr.so
+lib/hamlib-rotorez.a
+lib/hamlib-rotorez.la
+lib/hamlib-rotorez.so
+lib/hamlib-rpcrig.a
+lib/hamlib-rpcrig.la
+lib/hamlib-rpcrig.so
+lib/hamlib-rpcrot.a
+lib/hamlib-rpcrot.la
+lib/hamlib-rpcrot.so
+lib/hamlib-tentec.a
+lib/hamlib-tentec.la
+lib/hamlib-tentec.so
+lib/hamlib-uniden.a
+lib/hamlib-uniden.la
+lib/hamlib-uniden.so
+lib/hamlib-yaesu.a
+lib/hamlib-yaesu.la
+lib/hamlib-yaesu.so
+lib/libhamlib++-1.1.4.so
+lib/libhamlib++-1.1.4.so.1
+lib/libhamlib++.a
+lib/libhamlib++.la
+lib/libhamlib++.so
+lib/libhamlib-1.1.4.so
+lib/libhamlib-1.1.4.so.1
+lib/libhamlib.a
+lib/libhamlib.la
+lib/libhamlib.so
+lib/pkgconfig/hamlib.pc
+sbin/rpc.rigd
+sbin/rpc.rotd
+share/aclocal/hamlib.m4
+@dirrm include/hamlib