freebsd-ports/comms/hamlib/Makefile
Diane Bruce 00915371dd - 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 00:36:24 +00:00

59 lines
1.7 KiB
Makefile

# New ports collection makefile for: hamlib
# Date created: 30 April 2003
# Whom: Sebastian Yepes <esn@x123.info>
#
# $FreeBSD$
#
PORTNAME= hamlib
PORTVERSION= 1.2.14
CATEGORIES= comms hamradio
MASTER_SITES= SF
MAINTAINER= db@FreeBSD.org
COMMENT= Shared libraries for Amateur Radio Equipment Control Applications
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
USE_GNOME= pkgconfig gnomehack libxml2
USE_PERL5= yes
USE_TCL= yes
USE_PYTHON= yes
USE_AUTOTOOLS= autoconf libtool libltdl
USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-perl-binding \
--enable-tcl-binding --with-tcl=${TCL_LIBDIR} \
--with-python-binding --without-rigmatrix
PLIST_SUB= VER=${PORTVERSION} TCL_VER=${TCL_VER}
MAN1= rigctl.1 rigmem.1 rigswr.1 rotctl.1 rigsmtr.1
MAN8= rpc.rigd.8 rpc.rotd.8 rigctld.8 rotctld.8
LICENCE= LGPL20
post-patch:
${REINPLACE_CMD} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' \
-e 's|%%TCL_LIBDIR%%|${TCL_LIBDIR}/hamlib|g' \
${WRKSRC}/bindings/Makefile.in
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/src/Makefile.in
post-build:
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' \
${WRKSRC}/bindings/Hamlib-pl.mk
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for d in ${WRKSRC}/AUTHORS ${WRKSRC}/COPYING ${WRKSRC}/COPYING.LIB \
${WRKSRC}/ChangeLog ${WRKSRC}/INSTALL ${WRKSRC}/LICENSE \
${WRKSRC}/NEWS ${WRKSRC}/PLAN ${WRKSRC}/README \
${WRKSRC}/README.betatester ${WRKSRC}/README.win32 \
${WRKSRC}/THANKS
${INSTALL_DATA} ${WRKSRC}/${d} ${DOCSDIR}
.endfor
@${ECHO}
@${ECHO} "docs installed in ${DOCSDIR}"
@${ECHO}
.endif
.include <bsd.port.mk>