openbsd-ports/comms/hamlib/Makefile

64 lines
1.6 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.25 2011/11/13 13:54:04 ajacoutot Exp $
2007-05-28 13:07:27 -04:00
COMMENT-main= radio/rotator control library
COMMENT-python= python bindings for hamlib
COMMENT-tcl= tcl bindings for hamlib
2007-05-28 13:07:27 -04:00
VERSION= 1.2.6
DISTNAME= hamlib-${VERSION}
PKGNAME-main= hamlib-${VERSION}
REVISION-main = 8
PKGNAME-python= hamlib-python-${VERSION}
REVISION-python = 9
PKGNAME-tcl= hamlib-tcl-${VERSION}
REVISION-tcl = 8
2007-05-28 13:07:27 -04:00
CATEGORIES= comms hamradio
MULTI_PACKAGES= -main -python -tcl
SHARED_LIBS= hamlib 2.5 \
hamlib++ 2.5
HOMEPAGE= http://hamlib.sourceforge.net/
MODULES= lang/python lang/tcl converters/libiconv
2007-05-28 13:07:27 -04:00
# GPLv2/LGPLv2.1
2007-05-28 13:07:27 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
cWANTLIB = m usb usb-1.0
WANTLIB-main = ${cWANTLIB} c stdc++ z xml2 ${MODLIBICONV_WANTLIB} pthread
WANTLIB-python = ${cWANTLIB} hamlib ${MODPY_WANTLIB}
WANTLIB-tcl = ${cWANTLIB} hamlib ${MODTCL_WANTLIB}
2007-05-28 13:07:27 -04:00
LIB_DEPENDS-main= textproc/libxml \
devel/libusb-compat
LIB_DEPENDS-python= ${BUILD_PKGPATH} \
${MODPY_LIB_DEPENDS}
LIB_DEPENDS-tcl= ${BUILD_PKGPATH} \
2008-10-28 08:14:00 -04:00
${MODTCL_LIB_DEPENDS}
2007-05-28 13:07:27 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hamlib/}
2007-05-28 13:07:27 -04:00
USE_LIBTOOL= Yes
USE_GROFF = Yes
2007-05-28 13:07:27 -04:00
CONFIGURE_STYLE= gnu
2010-11-15 07:44:20 -05:00
BUILD_DEPENDS= devel/swig
2007-05-28 13:07:27 -04:00
RUN_DEPENDS-main= ${MODLIBICONV_RUN_DEPENDS}
RUN_DEPENDS-python= ${MODPY_RUN_DEPENDS}
RUN_DEPENDS-tcl= ${MODTCL_RUN_DEPENDS}
2007-05-28 13:07:27 -04:00
# --without-winradio do not build winradio backend
# --with-gnuradio build gnuradio backend
CONFIGURE_ARGS=--with-cxx-binding --with-perl-binding --with-rpc-backends \
--with-tcl-binding --with-python-binding --without-rigmatrix \
2008-10-28 08:14:00 -04:00
--with-tcl=${MODTCL_LIBDIR}
2007-05-28 13:07:27 -04:00
.include <bsd.port.mk>