aboutsummaryrefslogtreecommitdiff
path: root/comms/minicom
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2014-01-02 17:50:04 +0000
committerJohan van Selst <johans@FreeBSD.org>2014-01-02 17:50:04 +0000
commit495733685f96e7e181df1d8a72c56ef61ffb2b65 (patch)
tree8de4bc1006358040f33c8e42c8dd5ef5dece6c5b /comms/minicom
parente67a30d69f582e66569b7b7c988df9de2c8de5dd (diff)
downloadports-495733685f96e7e181df1d8a72c56ef61ffb2b65.tar.gz
ports-495733685f96e7e181df1d8a72c56ef61ffb2b65.zip
- Update minicom to 2.7
- Run-time dependency lrz is not optional - Simplify options handling
Notes
Notes: svn path=/head/; revision=338464
Diffstat (limited to 'comms/minicom')
-rw-r--r--comms/minicom/Makefile29
-rw-r--r--comms/minicom/distinfo4
2 files changed, 11 insertions, 22 deletions
diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile
index e80b67888c96..6f24737c637a 100644
--- a/comms/minicom/Makefile
+++ b/comms/minicom/Makefile
@@ -2,19 +2,22 @@
# $FreeBSD$
PORTNAME= minicom
-PORTVERSION= 2.6.2
-PORTREVISION= 1
+PORTVERSION= 2.7
CATEGORIES= comms
-MASTER_SITES= https://alioth.debian.org/frs/download.php/file/3869/ \
- http://alioth.debian.org/frs/download.php/file/3869/ \
+MASTER_SITES= https://alioth.debian.org/frs/download.php/file/3977/ \
+ http://alioth.debian.org/frs/download.php/file/3977/ \
http://fossies.org/linux/misc/
MAINTAINER= johans@FreeBSD.org
COMMENT= An MS-DOS Telix serial communication program "workalike"
-OPTIONS_DEFINE= DOCS NLS LRZSZ
-OPTIONS_DEFAULT=LRZSZ
+RUN_DEPENDS= lrz:${PORTSDIR}/comms/lrzsz
+
+OPTIONS_DEFINE= DOCS NLS
+OPTIONS_SUB= yes
LRZSZ_DESC= Install X/Y/ZMODEM protocol handlers
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
USES= iconv
CPPFLAGS+= -I${LOCALBASE}/include
@@ -26,20 +29,6 @@ CONFIGURE_ARGS+= --enable-dfl-baud=57600 \
--enable-dfl-port=/dev/cuau0
MAKE_ARGS+= LIBS+="${ICONV_LIB} -lcurses"
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MLRZSZ}
-RUN_DEPENDS+= lrz:${PORTSDIR}/comms/lrzsz
-.endif
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
-
.include <bsd.port.pre.mk>
post-patch:
diff --git a/comms/minicom/distinfo b/comms/minicom/distinfo
index 83a5fca87b45..b54f41a00783 100644
--- a/comms/minicom/distinfo
+++ b/comms/minicom/distinfo
@@ -1,2 +1,2 @@
-SHA256 (minicom-2.6.2.tar.gz) = f3cf215f7914ffa5528e398962176102ad74df27ba38958142f56aa6d15c9168
-SIZE (minicom-2.6.2.tar.gz) = 855340
+SHA256 (minicom-2.7.tar.gz) = 9ac3a663b82f4f5df64114b4792b9926b536c85f59de0f2d2b321c7626a904f4
+SIZE (minicom-2.7.tar.gz) = 863544