1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Update minicom to 2.7

- Run-time dependency lrz is not optional
- Simplify options handling
This commit is contained in:
Johan van Selst 2014-01-02 17:50:04 +00:00
parent e67a30d69f
commit 495733685f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338464
2 changed files with 11 additions and 22 deletions

View File

@ -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:

View File

@ -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