1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/comms/hamlib/Makefile
Sunpoet Po-Chuan Hsieh cb333cf1ec Move devel/swig30 to devel/swig and update to 4.0.1
- Do not silence installation message
- Update dependent ports:
  - Fix build with swig 4.0.1
  - Update *_DEPENDS
  - Remove BINARY_ALIAS

Changes:	http://www.swig.org/news.php
PR:		246613
Exp-run by:	antoine
2020-06-17 18:17:45 +00:00

59 lines
1.6 KiB
Makefile

# Created by: Sebastian Yepes <esn@x123.info>
# $FreeBSD$
PORTNAME= hamlib
PORTVERSION= 3.3
PORTREVISION= 2
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/swig
LIB_DEPENDS= libltdl.so:devel/libltdl
USES= autoreconf gnome libtool:keepla pathfix perl5 pkgconfig python \
readline shebangfix tcl
USE_PYTHON= py3kplist
USE_PERL5= build run
USE_GNOME= libxml2
USE_LDCONFIG= yes
# $TCL_INCLUDE_SPEC
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
SHEBANG_FILES= bindings/perltest.pl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-perl-binding \
--with-tcl-binding --with-tcl=${TCL_LIBDIR} \
--with-libusb \
--with-python-binding --without-rigmatrix
CONFIGURE_ENV= LIBUSB_LIBS="-lusb"
PLIST_SUB= VER=${PORTVERSION} TCL_VER=${TCL_VER}
INSTALL_TARGET= install-strip
INFO= hamlib
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' \
${WRKSRC}/bindings/Makefile.am
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>