diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2010-01-15 23:09:31 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2010-01-15 23:09:31 +0000 |
commit | 70a4cf7a34250fb5980a1888bb89e8f820591ba2 (patch) | |
tree | fd85190829befc37e42695771c1111e502fabb87 /comms/minicom | |
parent | 27ddc0136f70a992aeb0378fcbd4dff7abe4d0d6 (diff) | |
download | ports-70a4cf7a34250fb5980a1888bb89e8f820591ba2.tar.gz ports-70a4cf7a34250fb5980a1888bb89e8f820591ba2.zip |
Notes
Diffstat (limited to 'comms/minicom')
-rw-r--r-- | comms/minicom/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile index 3f6cb9175fc8..6aa32b768f66 100644 --- a/comms/minicom/Makefile +++ b/comms/minicom/Makefile @@ -8,7 +8,7 @@ PORTNAME= minicom PORTVERSION= 2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms MASTER_SITES= http://alioth.debian.org/frs/download.php/2332/ \ ftp://ftp.nuug.no/pub/anders/distfiles/ \ @@ -35,11 +35,18 @@ CONFIGURE_ARGS+= --enable-dfl-baud=57600 \ --sysconfdir=${PREFIX}/etc/minicom \ --enable-lock-dir=/var/spool/lock -MINICOM_DEFAULT_PORT?= /dev/cuad0 CONFIGURE_ARGS+= --enable-dfl-port=${MINICOM_DEFAULT_PORT} MAN1= minicom.1 runscript.1 ascii-xfr.1 xminicom.1 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 800045 +MINICOM_DEFAULT_PORT?= /dev/cuad0 +.else +MINICOM_DEFAULT_PORT?= /dev/cuau0 +.endif + post-patch: ${REINPLACE_CMD} -e "s@/usr/local/bin/@${LOCALBASE}/bin/@; \ s@/sz@/lsz@;s@/sb@/lsb@;s@/sx@/lsx@;s@/rz@/lrz@; \ @@ -65,4 +72,4 @@ post-install: ${DOCSDIR}) .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |