aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authordb <db@FreeBSD.org>2012-06-08 11:47:36 +0800
committerdb <db@FreeBSD.org>2012-06-08 11:47:36 +0800
commit56ff028e82ba25ab85fb153363eedc68ac616b51 (patch)
tree428e1469ac6ef4d1513ac9fec9c6f3f5f9382c4d /comms
parent283b5d37472225740d88072b7dad7f0194e125a9 (diff)
downloadfreebsd-ports-graphics-56ff028e82ba25ab85fb153363eedc68ac616b51.tar.gz
freebsd-ports-graphics-56ff028e82ba25ab85fb153363eedc68ac616b51.tar.zst
freebsd-ports-graphics-56ff028e82ba25ab85fb153363eedc68ac616b51.zip
- Convert to optionsng
Diffstat (limited to 'comms')
-rw-r--r--comms/tlf/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/comms/tlf/Makefile b/comms/tlf/Makefile
index b3986ce42c1..cfe3dd461a3 100644
--- a/comms/tlf/Makefile
+++ b/comms/tlf/Makefile
@@ -23,13 +23,16 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
--libdir="${LOCALBASE}/lib"
LDFLAGS+= ${PTHREAD_LIBS}
-OPTIONS= HAMLIB "Use hamlib" ON
+
+OPTIONS_DEFINE= HAMLIB
+HAMLIB_DESC= Use hamlib
+OPTION_DEFAULT= HAMLIB
MAN1= tlf.1
.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_HAMLIB)
+.if ${PORT_OPTIONS:MHAMLIB}
LIB_DEPENDS+= hamlib:${PORTSDIR}/comms/hamlib
CONFIGURE_ARGS+= --enable-hamlib
.else