2011-06-08 13:31:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2011/06/08 17:32:05 jasper Exp $
|
2007-05-28 13:07:27 -04:00
|
|
|
|
2007-09-15 21:37:09 -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}
|
2010-09-02 14:32:33 -04:00
|
|
|
PKGNAME-main= hamlib-${VERSION}
|
2011-06-08 13:31:05 -04:00
|
|
|
REVISION-main = 5
|
2010-08-30 12:48:31 -04:00
|
|
|
PKGNAME-python= hamlib-python-${VERSION}
|
2011-06-08 13:31:05 -04:00
|
|
|
REVISION-python = 6
|
2010-08-30 12:48:31 -04:00
|
|
|
PKGNAME-tcl= hamlib-tcl-${VERSION}
|
2011-06-08 13:31:05 -04:00
|
|
|
REVISION-tcl = 5
|
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/
|
|
|
|
|
2008-10-28 08:14:00 -04:00
|
|
|
MODULES= lang/python lang/tcl
|
2007-05-28 13:07:27 -04:00
|
|
|
|
2009-02-18 06:02:23 -05: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
|
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
WANTLIB = m usb>=9
|
2010-10-19 16:07:14 -04:00
|
|
|
WANTLIB-main = ${WANTLIB} c stdc++ z xml2 iconv
|
2010-10-24 11:53:55 -04:00
|
|
|
WANTLIB-python = ${WANTLIB} hamlib ${MODPY_WANTLIB}
|
2010-11-06 18:06:57 -04:00
|
|
|
WANTLIB-tcl = ${WANTLIB} hamlib ${MODTCL_WANTLIB}
|
2007-05-28 13:07:27 -04:00
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
LIB_DEPENDS-main= textproc/libxml \
|
|
|
|
converters/libiconv \
|
|
|
|
devel/libusb
|
|
|
|
LIB_DEPENDS-python= ${BUILD_PKGPATH} \
|
2007-10-22 10:25:12 -04:00
|
|
|
${MODPY_LIB_DEPENDS}
|
2010-11-14 19:22:45 -05:00
|
|
|
LIB_DEPENDS-tcl= ${BUILD_PKGPATH} \
|
2008-10-28 08:14:00 -04:00
|
|
|
${MODTCL_LIB_DEPENDS}
|
2007-05-28 13:07:27 -04:00
|
|
|
|
2009-02-18 06:02:23 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hamlib/}
|
2007-05-28 13:07:27 -04:00
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
2010-11-14 19:22:45 -05:00
|
|
|
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=
|
|
|
|
RUN_DEPENDS-tcl=
|
|
|
|
|
|
|
|
# --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>
|