mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
81 lines
1.9 KiB
Makefile
81 lines
1.9 KiB
Makefile
# New ports collection makefile for: hamlib
|
|
# Date created: 30 April 2003
|
|
# Whom: Sebastian Yepes <esn@x123.info>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hamlib
|
|
PORTVERSION= 1.1.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= comms
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= esn@x123.info
|
|
COMMENT= Shared libraries for Amateur Radio Equipment Control Applications
|
|
|
|
USE_PERL5= yes
|
|
USE_LIBTOOL_VER= 13
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
|
|
|
|
MAN1= rigctl.1 rotctl.1
|
|
MAN8= rpc.rigd.8 rpc.rotd.8
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_TCL)
|
|
LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83
|
|
CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl8.3
|
|
PLIST_SUB+= TCL=""
|
|
.else
|
|
CONFIGURE_ARGS+= --without-with-tcl --without-with-tcl-binding
|
|
PLIST_SUB+= TCL="@comment "
|
|
.endif
|
|
|
|
.if defined(WITH_RIGMATRIX)
|
|
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
|
|
CONFIGURE_ARGS+= --with-rigmatrix
|
|
PLIST_SUB+= RIGMATRIX=""
|
|
.else
|
|
CONFIGURE_ARGS+= --without-with-rigmatrix
|
|
PLIST_SUB+= RIGMATRIX="@comment "
|
|
.endif
|
|
|
|
.if defined(WITH_GNURADIO)
|
|
CONFIGURE_ARGS+= --with-gnuradio
|
|
PLIST_SUB+= GNURADIO=""
|
|
.else
|
|
CONFIGURE_ARGS+= --without-with-gnuradio
|
|
PLIST_SUB+= GNURADIO="@comment "
|
|
.endif
|
|
|
|
.if defined(WITH_MICROTUNE)
|
|
CONFIGURE_ARGS+= --with-microtune
|
|
PLIST_SUB+= MICROTUNE=""
|
|
.else
|
|
CONFIGURE_ARGS+= --without-with-microtune
|
|
PLIST_SUB+= MICROTUNE="@comment "
|
|
.endif
|
|
|
|
pre-everything::
|
|
.if !defined(WITH_TCL) || !defined(WITH_RIGMATRIX)
|
|
@${ECHO_MSG} "You can specify the following command lines:"
|
|
@${ECHO_MSG} ""
|
|
.endif
|
|
.if !defined(WITH_TCL)
|
|
@${ECHO_MSG} "WITH_TCL=yes for TCL support"
|
|
.endif
|
|
.if !defined(WITH_RIGMATRIX)
|
|
@${ECHO_MSG} "WITH_RIGMATRIX=yes for RigMatrix support"
|
|
.endif
|
|
#.if !defined(WITH_GNURADIO)
|
|
# @${ECHO_MSG} "WITH_GNURADIO=yes for GNURadio support"
|
|
#.endif
|
|
#.if !defined(WITH_MICROTUNE)
|
|
# @${ECHO_MSG} "WITH_MICROTUNE=yes for MicroTune support"
|
|
#.endif
|
|
|
|
.include <bsd.port.post.mk>
|