summaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2011-10-25 01:00:40 +0000
committereadler <eadler@FreeBSD.org>2011-10-25 01:00:40 +0000
commit2bc5a22020ebacdf9fe04c88c811c70255ed249d (patch)
tree60810c1b77981b2772a64171b73a4327007d8ba9 /comms
parenta96967e750e75a1caf088f6f8794ca9eb2ad3eb4 (diff)
downloadFreeBSD-ports-2bc5a22020ebacdf9fe04c88c811c70255ed249d.zip
FreeBSD-ports-2bc5a22020ebacdf9fe04c88c811c70255ed249d.tar.gz
- make lzr dep. optional
PR: ports/160661 Submitted by: "4720@hushmail.com" <4720@hushmail.com> Approved by: maintainer timeout (6 weeks) Approved by: bapt,sahil (mentors, implicit)
Diffstat (limited to 'comms')
-rw-r--r--comms/minicom/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile
index 4f4f300..9f9ef38 100644
--- a/comms/minicom/Makefile
+++ b/comms/minicom/Makefile
@@ -14,9 +14,13 @@ MASTER_SITES= http://alioth.debian.org/frs/download.php/3487/
MAINTAINER= johans@FreeBSD.org
COMMENT= An MS-DOS Telix serial communication program "workalike"
-RUN_DEPENDS= lrz:${PORTSDIR}/comms/lrzsz
+OPTIONS= LRZSZ "Install X/Y/ZMODEM protocol handlers" on
-USE_ICONV= yes
+.include <bsd.port.options.mk>
+
+.if defined(WITH_LRZSZ)
+RUN_DEPENDS= lrz:${PORTSDIR}/comms/lrzsz
+.endif
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
@@ -26,6 +30,7 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
+USE_ICONV= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
OpenPOWER on IntegriCloud