1998-01-03 11:58:43 +01:00
|
|
|
# ex:ts=8
|
2000-02-13 04:25:05 +01:00
|
|
|
# Ports collection makefile for: minicom
|
|
|
|
# Date created: Fri Dec 01, 1995
|
|
|
|
# Whom: obrien@cs.ucdavis.edu
|
1996-03-05 08:46:58 +01:00
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1996-03-05 08:46:58 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 01:24:42 +02:00
|
|
|
PORTNAME= minicom
|
2008-04-17 20:24:03 +02:00
|
|
|
PORTVERSION= 2.3
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 1
|
1996-11-17 04:01:21 +01:00
|
|
|
CATEGORIES= comms
|
2008-04-17 20:24:03 +02:00
|
|
|
MASTER_SITES= http://alioth.debian.org/frs/download.php/2332/ \
|
|
|
|
ftp://ftp.nuug.no/pub/anders/distfiles/ \
|
2002-06-26 01:53:35 +02:00
|
|
|
http://atreides.freenix.no/~anders/
|
1996-03-05 08:46:58 +01:00
|
|
|
|
2002-01-31 02:03:58 +01:00
|
|
|
MAINTAINER= anders@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= An MS-DOS Telix serial communication program "workalike"
|
1996-03-05 08:46:58 +01:00
|
|
|
|
1996-11-24 09:51:54 +01:00
|
|
|
RUN_DEPENDS= lrz:${PORTSDIR}/comms/lrzsz \
|
1999-02-14 07:55:16 +01:00
|
|
|
lsz:${PORTSDIR}/comms/lrzsz
|
1996-03-05 08:46:58 +01:00
|
|
|
|
2002-01-31 02:03:58 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/.src//}
|
2005-02-15 22:44:26 +01:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
CONFIGURE_ARGS+= --with-libiconv-prefix=${LOCALBASE} \
|
|
|
|
--without-included-gettext
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
2002-01-31 02:03:58 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-dfl-baud=57600 \
|
2002-03-26 09:13:33 +01:00
|
|
|
--sysconfdir=${PREFIX}/etc/minicom \
|
|
|
|
--enable-lock-dir=/var/spool/lock
|
2005-11-27 16:07:30 +01:00
|
|
|
|
|
|
|
MINICOM_DEFAULT_PORT?= /dev/cuad0
|
|
|
|
CONFIGURE_ARGS+= --enable-dfl-port=${MINICOM_DEFAULT_PORT}
|
2002-01-31 02:03:58 +01:00
|
|
|
|
2003-07-23 00:34:12 +02:00
|
|
|
MAN1= minicom.1 runscript.1 ascii-xfr.1 xminicom.1
|
1996-03-05 08:46:58 +01:00
|
|
|
|
2002-01-31 02:03:58 +01:00
|
|
|
post-patch:
|
2003-07-23 00:34:12 +02:00
|
|
|
${REINPLACE_CMD} -e "s@/usr/local/bin/@${LOCALBASE}/bin/@; \
|
|
|
|
s@/sz@/lsz@;s@/sb@/lsb@;s@/sx@/lsx@;s@/rz@/lrz@; \
|
|
|
|
s@/rb@/lrb@;s@/rx@/lrx@" ${WRKSRC}/src/rwconf.c
|
2005-02-15 22:44:26 +01:00
|
|
|
${REINPLACE_CMD} -E -e "s@^(SUBDIRS = .*) intl@\1@" \
|
|
|
|
${WRKSRC}/Makefile.in
|
2002-01-31 02:03:58 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${CHOWN} uucp:dialer ${PREFIX}/bin/minicom
|
|
|
|
${CHMOD} 4511 ${PREFIX}/bin/minicom
|
|
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/etc/minicom
|
|
|
|
.if !exists(${PREFIX}/etc/minicom/minicom.users)
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/minicom.users ${PREFIX}/etc/minicom/
|
|
|
|
.endif
|
|
|
|
${CHOWN} uucp ${PREFIX}/etc/minicom
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}/
|
|
|
|
(umask 022 && cd ${WRKSRC} && ${TAR} --exclude '*/Makefile*' \
|
|
|
|
--exclude '*.orig' -chf - extras doc | ${TAR} -xf - -C \
|
|
|
|
${DOCSDIR})
|
|
|
|
.endif
|
|
|
|
|
2009-01-05 18:27:29 +01:00
|
|
|
.include <bsd.port.mk>
|