mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
82e25d4166
2016-12-31 * Fix kenwood_set_mode for ts590s and mode CW, RTTY or AM. Tks Tom, DL1JBE * Proper IPV6 and dual stack networking. Bill, G4WJS * Add a new command line option '--no-restore-ai' ('-n') to rigctl. Bill, G4WJS * Fix missing PKTUSB mode setting code for FT-817 & FT-897. Bill, G4WJS * New Prosistel rotor backend from IZ7CRX * Install daemon man files to man1. Nate, N0NB * Migrate from libusb-0.1 to libusb-1.0. Stephane, F8CFE * Added support for Icom IC-2730. robinolejnik * Added support for the Icom IC-7300. Mike, W9MDB * Add send_morse to icom rigs. Mike, W9MDB * added instructions how to compile on OSX. DH1TW * New Perseus model. Stephane, F8CFE * Added Lua binding and demo script. Ervin, HA2OS * Added test to support Flex 6300. Bill, KB4AAA * Many bug fixes and feature enhancements to the code base. See the Git commit log for complete details.
57 lines
1.6 KiB
Makefile
57 lines
1.6 KiB
Makefile
# Created by: Sebastian Yepes <esn@x123.info>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hamlib
|
|
PORTVERSION= 3.1
|
|
CATEGORIES= comms hamradio
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= hamradio@FreeBSD.org
|
|
COMMENT= Shared libraries for Amateur Radio Equipment Control Applications
|
|
|
|
LICENSE= LGPL20
|
|
|
|
BUILD_DEPENDS= swig:devel/swig13
|
|
LIB_DEPENDS= libltdl.so:devel/libltdl
|
|
|
|
INFO= hamlib
|
|
USES= autoreconf libtool:keepla pathfix perl5 pathfix pkgconfig python shebangfix tcl
|
|
USE_PYTHON= py3kplist
|
|
SHEBANG_FILES= bindings/perltest.pl
|
|
USE_PERL5= build run
|
|
USE_GNOME= libxml2
|
|
USE_LDCONFIG= yes
|
|
# $TCL_INCLUDE_SPEC
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-perl-binding \
|
|
--with-tcl-binding --with-tcl=${TCL_LIBDIR} \
|
|
--with-python-binding --without-rigmatrix
|
|
PLIST_SUB= VER=${PORTVERSION} TCL_VER=${TCL_VER}
|
|
INSTALL_TARGET= install-strip
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${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
|
|
post-build:
|
|
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' \
|
|
${STAGEDIR}${WRKSRC}/bindings/Hamlib-pl.mk
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${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} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|