aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2014-01-03 01:50:04 +0800
committerjohans <johans@FreeBSD.org>2014-01-03 01:50:04 +0800
commitae7d3fc839983f33a1d13ae52fad395f1073d827 (patch)
tree8de4bc1006358040f33c8e42c8dd5ef5dece6c5b /comms
parent6f0fbc42877d97dd4660b15bbd708b3914268321 (diff)
downloadfreebsd-ports-gnome-ae7d3fc839983f33a1d13ae52fad395f1073d827.tar.gz
freebsd-ports-gnome-ae7d3fc839983f33a1d13ae52fad395f1073d827.tar.zst
freebsd-ports-gnome-ae7d3fc839983f33a1d13ae52fad395f1073d827.zip
- Update minicom to 2.7
- Run-time dependency lrz is not optional - Simplify options handling
Diffstat (limited to 'comms')
-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