2013-09-20 18:03:29 +02:00
|
|
|
# Created by: Sebastian Yepes <esn@x123.info>
|
2003-05-16 14:19:28 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= hamlib
|
2016-04-08 02:00:17 +02:00
|
|
|
PORTVERSION= 3.0.1
|
- Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
[1]
- Fix FAM support. Make gamin the default FAM system. [2]
- Introduce new 'quicksearch' target to show only port, path and
info section of the matching ports. [3]
- Introduce new category - rubygems. [4]
- Fix stale dependencies while installing qmail slaveport and
another port that depends on qmail. [5]
- Add commentary for describes target in bsd.port.mk. [6]
- Fix warning issued during make index on archs !368. [7]
- Add USE_DOS2UNIX variable. If set to "YES", remove the ^M from
all files under ${WRKSRC}. If set to a string, remove in all files
under ${WRKSRC} with one of these names the ^Ms. [8]
- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
checking the existance of the Perl modules with the "perl -e 'use
module;'" command. [9]
- Fix bsd.port.mk variable quoting issues. No quoting is necessary
anymore either in the Makefile or on the command line. Affected
variables include:
BROKEN
FORBIDDEN
IGNORE
MANUAL_PACKAGE_BUILD
NO_CDROM
NO_PACKAGE
RESTRICTED
[10]
- Add NOFETCHFILES variable. If set, don't download these files
from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
${MASTER_SITE_OVERRIDE}). [11]
- Improve 'search' target output. [12]
- Add a new virtual category for Amateur Radio - hamradio. [13]
- Cleanup some old/unused pathes in bsd.port.mk. [14]
- Add @dirrmtry for plists which does the same as:
"@unexec rmdir %D/foo 2>/dev/null || true" [15]
- Remove virtual category - offix. [16]
- Use portsnap instead of cvsup or cvs on "make update" in
/usr/ports. [17]
- Move location of bsd.autotools.mk within bsd.port.mk [18]
- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]
- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]
- Replace the string "FreeBSD" by "The FreeBSD Project" in the
security warning [21]
- Add bsd.local.mk for local modification to ports framework. [22]
- Replace rcNG spelling by rc.d [23]
- Remove superfluous USE_REINPLACE. [24]
Special thanks to: linimon for spending hours with all these patches
clement for fixes
kris for help with pointyhat
PR: ports/86310 [1], ports/89498 [2], ports/83530 [3],
ports/83789 [4], ports/84053 [5], ports/86281 [6],
ports/87214 [7], ports/87234 [8], ports/87318 [9],
ports/87396 [10], ports/87605 [11], ports/87840 [12],
ports/88230 [13], ports/88493 [14], ports/88711 [15],
ports/88751 [16], ports/89281 [17], ports/89999 [18],
ports/90031 [19], ports/90150 [20], ports/90668 [21],
ports/91433 [23], ports/88754 [24]
Submitted by: mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
edwin [8, 9, 11, 15, 21],
fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
Carl Makin <carl@stagecraft.cx> [13], arved [14],
NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
jylefort [19], linimon [22], dougb [23]
2006-01-21 18:37:14 +01:00
|
|
|
CATEGORIES= comms hamradio
|
2009-08-22 02:15:15 +02:00
|
|
|
MASTER_SITES= SF
|
2003-05-16 14:19:28 +02:00
|
|
|
|
2014-07-02 13:39:44 +02:00
|
|
|
MAINTAINER= hamradio@FreeBSD.org
|
2003-05-16 14:19:28 +02:00
|
|
|
COMMENT= Shared libraries for Amateur Radio Equipment Control Applications
|
|
|
|
|
2012-11-03 15:36:21 +01:00
|
|
|
LICENSE= LGPL20
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
BUILD_DEPENDS= swig:devel/swig13
|
|
|
|
LIB_DEPENDS= libltdl.so:devel/libltdl
|
2006-05-01 05:31:17 +02:00
|
|
|
|
2015-10-03 18:30:19 +02:00
|
|
|
INFO= hamlib
|
The Hamlib Group is pleased to announce the release of Hamlib 3.0.
This release of Hamlib introduces a change to the version scheme.
Essentially, the leading '1.' characters have been dropped so '3.0' is a
direct follow on from the '1.2.' releases and has been configured to be
ABI compatible with the '1.2.' releases.
Bug fixes to this release will start with '3.0.1' through '3.0.n'.
The next releases will be '3.1' through '3.n' until the next major
release.
Files are hosted at the Hamlib prjoect page at SourceForge.net:
https://sourceforge.net/projects/hamlib/files/hamlib/3.0/
The changes include:
Version 3.0
2015-09-20
* Kill RPC backends and rpc.rigd/rpc.rotd
* Remove -e|--end-marker option from rigctld and rotctld
* Build system updates--remove obsolete macros, autogen.sh now
runs autoreconf to invoke Autotools to bootstrap the build
system, libltdl is installed into the source tree as a part
of the build system bootstrap and is included in the source
tarball, ABI version is set to be compatible with the 1.2
series, all Autotools installed files are copied rather than
symlinked and put in the build-aux directory, building
rigmem and rigmatrix are now user selectable at configure
run time, building static libraries are disabled by default.
Fixed TCL binding installation, fixed Perl binding build so it
is not invoked by 'make dist' and clean up build files. Cleaned
up bindings builds to occur in alphabetical order. Use new
ax_pkg_swig macro and update ax_python_devel macro. Test for
presence of pkg-config before testing for pkg-config use.
* Implement new RIT/XIT activation/deactivation through rig_get/set_func
+()
* IC-PCR1500/2500 default write_delay to 0, IC-746/756, IC-PCR8500
fixes, pcr.c, pcr1500.c: Add DSP support. TNX Paul, KE7ZZ
* WinRadio G313 updates. TNX Julian Campbel
* Readline editing and history support added to rigctl interactive
mode. Implement options for reading and writing history file.
* Readline editing and history support added to rotctl interactive
mode. Implement options for reading and writing history file.
* A new manual draft written in Texinfo added. Both GNU Info and single
HTML files are built and distributed, requires makeinfo.
* Android build system support. See android/README.android. Android
Makefile fragments are included in source tarballs.
* Monolithic library, thanks to Remi Chateauneu for the majority of
the work! This allows enabling of a single static library so
static libs are enabled by default. Removes dependency on libltdl.
* Fixes to easycomm, TNX Steve AI4QR.
* Fixes to port handling allowing PTT and CAT on the same port. TNX
Bill, G4WJS.
* New Peaberry models V1 and V2 added to kit backend. TNX ON8VQ
and R2AEE.
* New IC-7100 model. TNX Martin, CT1IQI.
* Use AC_CHECK_LIB macro to search for libusb rather than rely on
pkg-config. Preserve environment variables LIBUSB_CFLAGS and
LIBUSB_LIBS as user precious variables. Two features,
--with-xml-support and --enable-usrp still rely on pkg-config so
only invoke pkg-config when either or both of these features are
selected. Only the Winradio g313 model uses libdl so test for it
only when Winradio backend is enabled.
* New IC-M700PRO, IC-M710, IC-M802.
* New Icom ID-5100 model.
* New rotor, cnctrk by KI4SBL
* Many backend fixes and updates from many contributors (see Git
log for complete details).
2015-10-02 15:39:19 +02:00
|
|
|
USES= autoreconf libtool:keepla pathfix perl5 pkgconfig python shebangfix tcl
|
2016-04-08 09:15:48 +02:00
|
|
|
USE_PYTHON= py3kplist
|
2015-09-18 17:09:17 +02:00
|
|
|
SHEBANG_FILES= bindings/perltest.pl
|
2014-11-26 14:08:24 +01:00
|
|
|
USE_PERL5= build run
|
2013-09-02 11:03:40 +02:00
|
|
|
USE_GNOME= libxml2
|
2006-12-26 21:38:39 +01:00
|
|
|
USE_LDCONFIG= yes
|
The Hamlib Group is pleased to announce the release of Hamlib 3.0.
This release of Hamlib introduces a change to the version scheme.
Essentially, the leading '1.' characters have been dropped so '3.0' is a
direct follow on from the '1.2.' releases and has been configured to be
ABI compatible with the '1.2.' releases.
Bug fixes to this release will start with '3.0.1' through '3.0.n'.
The next releases will be '3.1' through '3.n' until the next major
release.
Files are hosted at the Hamlib prjoect page at SourceForge.net:
https://sourceforge.net/projects/hamlib/files/hamlib/3.0/
The changes include:
Version 3.0
2015-09-20
* Kill RPC backends and rpc.rigd/rpc.rotd
* Remove -e|--end-marker option from rigctld and rotctld
* Build system updates--remove obsolete macros, autogen.sh now
runs autoreconf to invoke Autotools to bootstrap the build
system, libltdl is installed into the source tree as a part
of the build system bootstrap and is included in the source
tarball, ABI version is set to be compatible with the 1.2
series, all Autotools installed files are copied rather than
symlinked and put in the build-aux directory, building
rigmem and rigmatrix are now user selectable at configure
run time, building static libraries are disabled by default.
Fixed TCL binding installation, fixed Perl binding build so it
is not invoked by 'make dist' and clean up build files. Cleaned
up bindings builds to occur in alphabetical order. Use new
ax_pkg_swig macro and update ax_python_devel macro. Test for
presence of pkg-config before testing for pkg-config use.
* Implement new RIT/XIT activation/deactivation through rig_get/set_func
+()
* IC-PCR1500/2500 default write_delay to 0, IC-746/756, IC-PCR8500
fixes, pcr.c, pcr1500.c: Add DSP support. TNX Paul, KE7ZZ
* WinRadio G313 updates. TNX Julian Campbel
* Readline editing and history support added to rigctl interactive
mode. Implement options for reading and writing history file.
* Readline editing and history support added to rotctl interactive
mode. Implement options for reading and writing history file.
* A new manual draft written in Texinfo added. Both GNU Info and single
HTML files are built and distributed, requires makeinfo.
* Android build system support. See android/README.android. Android
Makefile fragments are included in source tarballs.
* Monolithic library, thanks to Remi Chateauneu for the majority of
the work! This allows enabling of a single static library so
static libs are enabled by default. Removes dependency on libltdl.
* Fixes to easycomm, TNX Steve AI4QR.
* Fixes to port handling allowing PTT and CAT on the same port. TNX
Bill, G4WJS.
* New Peaberry models V1 and V2 added to kit backend. TNX ON8VQ
and R2AEE.
* New IC-7100 model. TNX Martin, CT1IQI.
* Use AC_CHECK_LIB macro to search for libusb rather than rely on
pkg-config. Preserve environment variables LIBUSB_CFLAGS and
LIBUSB_LIBS as user precious variables. Two features,
--with-xml-support and --enable-usrp still rely on pkg-config so
only invoke pkg-config when either or both of these features are
selected. Only the Winradio g313 model uses libdl so test for it
only when Winradio backend is enabled.
* New IC-M700PRO, IC-M710, IC-M802.
* New Icom ID-5100 model.
* New rotor, cnctrk by KI4SBL
* Many backend fixes and updates from many contributors (see Git
log for complete details).
2015-10-02 15:39:19 +02:00
|
|
|
# $TCL_INCLUDE_SPEC
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-06-11 16:49:59 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2014-08-06 17:37:14 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2015-10-03 18:30:19 +02:00
|
|
|
CONFIGURE_ARGS= --with-perl-binding \
|
The Hamlib Group is pleased to announce the release of Hamlib 3.0.
This release of Hamlib introduces a change to the version scheme.
Essentially, the leading '1.' characters have been dropped so '3.0' is a
direct follow on from the '1.2.' releases and has been configured to be
ABI compatible with the '1.2.' releases.
Bug fixes to this release will start with '3.0.1' through '3.0.n'.
The next releases will be '3.1' through '3.n' until the next major
release.
Files are hosted at the Hamlib prjoect page at SourceForge.net:
https://sourceforge.net/projects/hamlib/files/hamlib/3.0/
The changes include:
Version 3.0
2015-09-20
* Kill RPC backends and rpc.rigd/rpc.rotd
* Remove -e|--end-marker option from rigctld and rotctld
* Build system updates--remove obsolete macros, autogen.sh now
runs autoreconf to invoke Autotools to bootstrap the build
system, libltdl is installed into the source tree as a part
of the build system bootstrap and is included in the source
tarball, ABI version is set to be compatible with the 1.2
series, all Autotools installed files are copied rather than
symlinked and put in the build-aux directory, building
rigmem and rigmatrix are now user selectable at configure
run time, building static libraries are disabled by default.
Fixed TCL binding installation, fixed Perl binding build so it
is not invoked by 'make dist' and clean up build files. Cleaned
up bindings builds to occur in alphabetical order. Use new
ax_pkg_swig macro and update ax_python_devel macro. Test for
presence of pkg-config before testing for pkg-config use.
* Implement new RIT/XIT activation/deactivation through rig_get/set_func
+()
* IC-PCR1500/2500 default write_delay to 0, IC-746/756, IC-PCR8500
fixes, pcr.c, pcr1500.c: Add DSP support. TNX Paul, KE7ZZ
* WinRadio G313 updates. TNX Julian Campbel
* Readline editing and history support added to rigctl interactive
mode. Implement options for reading and writing history file.
* Readline editing and history support added to rotctl interactive
mode. Implement options for reading and writing history file.
* A new manual draft written in Texinfo added. Both GNU Info and single
HTML files are built and distributed, requires makeinfo.
* Android build system support. See android/README.android. Android
Makefile fragments are included in source tarballs.
* Monolithic library, thanks to Remi Chateauneu for the majority of
the work! This allows enabling of a single static library so
static libs are enabled by default. Removes dependency on libltdl.
* Fixes to easycomm, TNX Steve AI4QR.
* Fixes to port handling allowing PTT and CAT on the same port. TNX
Bill, G4WJS.
* New Peaberry models V1 and V2 added to kit backend. TNX ON8VQ
and R2AEE.
* New IC-7100 model. TNX Martin, CT1IQI.
* Use AC_CHECK_LIB macro to search for libusb rather than rely on
pkg-config. Preserve environment variables LIBUSB_CFLAGS and
LIBUSB_LIBS as user precious variables. Two features,
--with-xml-support and --enable-usrp still rely on pkg-config so
only invoke pkg-config when either or both of these features are
selected. Only the Winradio g313 model uses libdl so test for it
only when Winradio backend is enabled.
* New IC-M700PRO, IC-M710, IC-M802.
* New Icom ID-5100 model.
* New rotor, cnctrk by KI4SBL
* Many backend fixes and updates from many contributors (see Git
log for complete details).
2015-10-02 15:39:19 +02:00
|
|
|
--with-tcl-binding --with-tcl=${TCL_LIBDIR} \
|
- Update to hamlib 1.2.14
From release e-mail:
The Hamlib team announces the release of Hamlib 1.2.14, the first since
adopting a timed release schedule of 1 Feb and 1 Aug each year. Changes
since 1.2.13 include:
* New models: SigFox Transfox, TH-D72A, IC-7410, IC-9100, IC-R9500,
KX3, V4L2 API support (untested),
* New rotator backends: IF-100, TS-7400
* Fixes and features: K3/KX3, Build Win32 from script,
rigctld/rotctld ported to Mingw32, Win32 build fixes, remove
obsolete bundled libtool files, rigctl improvements, FUNcube
string test (works with V0.0 and V1.0), Yaesu newcat.c fixed to
use rig->state.current_vfo to store vfo value, add a command to
halt rigctld, select PTT source in Kenwood backends (TS-590S),
make sure scan is stopped at IC-9000 opening, thd72 get channel
data (alpha).
For a complete log of changes to Hamlib 1.2.14, please visit:
http://hamlib.git.sourceforge.net/git/gitweb.cgi?p=hamlib/hamlib;\
a=shortlog;h=refs/heads/Hamlib-1.2.14
2011-08-04 02:36:24 +02:00
|
|
|
--with-python-binding --without-rigmatrix
|
2008-11-12 17:29:14 +01:00
|
|
|
PLIST_SUB= VER=${PORTVERSION} TCL_VER=${TCL_VER}
|
2015-10-03 18:30:19 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2003-05-16 14:19:28 +02:00
|
|
|
|
2014-07-16 01:11:12 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2008-11-12 17:29:14 +01:00
|
|
|
post-patch:
|
The Hamlib Group is pleased to announce the release of Hamlib 3.0.
This release of Hamlib introduces a change to the version scheme.
Essentially, the leading '1.' characters have been dropped so '3.0' is a
direct follow on from the '1.2.' releases and has been configured to be
ABI compatible with the '1.2.' releases.
Bug fixes to this release will start with '3.0.1' through '3.0.n'.
The next releases will be '3.1' through '3.n' until the next major
release.
Files are hosted at the Hamlib prjoect page at SourceForge.net:
https://sourceforge.net/projects/hamlib/files/hamlib/3.0/
The changes include:
Version 3.0
2015-09-20
* Kill RPC backends and rpc.rigd/rpc.rotd
* Remove -e|--end-marker option from rigctld and rotctld
* Build system updates--remove obsolete macros, autogen.sh now
runs autoreconf to invoke Autotools to bootstrap the build
system, libltdl is installed into the source tree as a part
of the build system bootstrap and is included in the source
tarball, ABI version is set to be compatible with the 1.2
series, all Autotools installed files are copied rather than
symlinked and put in the build-aux directory, building
rigmem and rigmatrix are now user selectable at configure
run time, building static libraries are disabled by default.
Fixed TCL binding installation, fixed Perl binding build so it
is not invoked by 'make dist' and clean up build files. Cleaned
up bindings builds to occur in alphabetical order. Use new
ax_pkg_swig macro and update ax_python_devel macro. Test for
presence of pkg-config before testing for pkg-config use.
* Implement new RIT/XIT activation/deactivation through rig_get/set_func
+()
* IC-PCR1500/2500 default write_delay to 0, IC-746/756, IC-PCR8500
fixes, pcr.c, pcr1500.c: Add DSP support. TNX Paul, KE7ZZ
* WinRadio G313 updates. TNX Julian Campbel
* Readline editing and history support added to rigctl interactive
mode. Implement options for reading and writing history file.
* Readline editing and history support added to rotctl interactive
mode. Implement options for reading and writing history file.
* A new manual draft written in Texinfo added. Both GNU Info and single
HTML files are built and distributed, requires makeinfo.
* Android build system support. See android/README.android. Android
Makefile fragments are included in source tarballs.
* Monolithic library, thanks to Remi Chateauneu for the majority of
the work! This allows enabling of a single static library so
static libs are enabled by default. Removes dependency on libltdl.
* Fixes to easycomm, TNX Steve AI4QR.
* Fixes to port handling allowing PTT and CAT on the same port. TNX
Bill, G4WJS.
* New Peaberry models V1 and V2 added to kit backend. TNX ON8VQ
and R2AEE.
* New IC-7100 model. TNX Martin, CT1IQI.
* Use AC_CHECK_LIB macro to search for libusb rather than rely on
pkg-config. Preserve environment variables LIBUSB_CFLAGS and
LIBUSB_LIBS as user precious variables. Two features,
--with-xml-support and --enable-usrp still rely on pkg-config so
only invoke pkg-config when either or both of these features are
selected. Only the Winradio g313 model uses libdl so test for it
only when Winradio backend is enabled.
* New IC-M700PRO, IC-M710, IC-M802.
* New Icom ID-5100 model.
* New rotor, cnctrk by KI4SBL
* Many backend fixes and updates from many contributors (see Git
log for complete details).
2015-10-02 15:39:19 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' \
|
|
|
|
-e 's|%%TCL_LIBDIR%%|${TCL_LIBDIR}|g' \
|
|
|
|
${WRKSRC}/bindings/Makefile.am
|
|
|
|
@${REINPLACE_CMD} -e 's|%%TCLSH%%|${TCLSH}|g' \
|
|
|
|
${WRKSRC}/bindings/tcltest.tcl
|
2006-05-01 05:31:17 +02:00
|
|
|
post-build:
|
|
|
|
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' \
|
2013-12-30 22:51:43 +01:00
|
|
|
${STAGEDIR}${WRKSRC}/bindings/Hamlib-pl.mk
|
2006-05-01 05:31:17 +02:00
|
|
|
|
2009-11-25 18:30:42 +01:00
|
|
|
post-install:
|
2013-12-30 22:51:43 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2009-11-25 18:30:42 +01:00
|
|
|
.for d in ${WRKSRC}/AUTHORS ${WRKSRC}/COPYING ${WRKSRC}/COPYING.LIB \
|
2015-09-18 17:09:17 +02:00
|
|
|
${WRKSRC}/ChangeLog ${WRKSRC}/INSTALL ${WRKSRC}/LICENSE \
|
|
|
|
${WRKSRC}/NEWS ${WRKSRC}/PLAN ${WRKSRC}/README \
|
|
|
|
${WRKSRC}/README.betatester ${WRKSRC}/README.win32 \
|
|
|
|
${WRKSRC}/THANKS
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DOCSDIR}
|
2009-11-25 18:30:42 +01:00
|
|
|
.endfor
|
|
|
|
|
2008-11-12 17:29:14 +01:00
|
|
|
.include <bsd.port.mk>
|