aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2011-10-25 09:00:40 +0800
committereadler <eadler@FreeBSD.org>2011-10-25 09:00:40 +0800
commit2bc5a22020ebacdf9fe04c88c811c70255ed249d (patch)
tree60810c1b77981b2772a64171b73a4327007d8ba9
parenta96967e750e75a1caf088f6f8794ca9eb2ad3eb4 (diff)
downloadfreebsd-ports-gnome-2bc5a22020ebacdf9fe04c88c811c70255ed249d.tar.gz
freebsd-ports-gnome-2bc5a22020ebacdf9fe04c88c811c70255ed249d.tar.zst
freebsd-ports-gnome-2bc5a22020ebacdf9fe04c88c811c70255ed249d.zip
- 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)
-rw-r--r--comms/minicom/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile
index 4f4f3000e3c0..9f9ef38df8d7 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