1999-10-01 13:01:52 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 1999/10/01 17:01:52 espie Exp $
|
1998-05-05 23:36:37 -04:00
|
|
|
|
1999-06-23 02:39:12 -04:00
|
|
|
PKGNAME= minicom-1.82.1
|
1998-05-05 23:36:37 -04:00
|
|
|
DISTNAME= ${PKGNAME}.src
|
|
|
|
CATEGORIES= comms
|
1998-10-07 14:51:26 -04:00
|
|
|
|
1999-06-23 02:39:12 -04:00
|
|
|
MAINTAINER= form@openbsd.org
|
1998-05-05 23:36:37 -04:00
|
|
|
|
1998-12-18 05:49:20 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
|
|
|
http://www.clinet.fi/~walker/
|
1998-10-07 14:51:26 -04:00
|
|
|
|
1998-12-18 05:49:20 -05:00
|
|
|
MASTER_SITE_SUBDIR= apps/serialcomm/dialout
|
1998-05-05 23:36:37 -04:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}/src
|
|
|
|
|
1998-12-18 05:49:20 -05:00
|
|
|
pre-build:
|
|
|
|
.if defined(USE_LRZSZ)
|
|
|
|
@cd ${WRKSRC}; /usr/bin/patch -p0 < ${FILESDIR}/patch-lrzsz; \
|
|
|
|
touch ${WRKDIR}/.with_lrzsz
|
|
|
|
.else
|
|
|
|
@${ECHO} "***"
|
|
|
|
@${ECHO} "*** Building minicom with rzsz support."
|
|
|
|
@${ECHO} "*** If you wish to use lrzsz package instead of rzsz,"
|
|
|
|
@${ECHO} "*** do 'make USE_LRZSZ=yes'."
|
|
|
|
@${ECHO} "***"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if exists(/etc/minicom/minicom.users)
|
|
|
|
@${ECHO} "*** Found existing /etc/minicom/minicom.users -- not replacing."
|
|
|
|
.else
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/minicom.users /etc/minicom
|
|
|
|
.endif
|
|
|
|
|
1999-10-01 13:01:52 -04:00
|
|
|
RUN_DEPENDS= kermit:${PORTSDIR}/comms/kermit
|
1998-05-05 23:36:37 -04:00
|
|
|
.include <bsd.port.mk>
|
1998-12-18 05:49:20 -05:00
|
|
|
|
|
|
|
.if exists(${WRKDIR}/.with_lrzsz)
|
1999-10-01 13:01:52 -04:00
|
|
|
RUN_DEPENDS+= lrz:${PORTSDIR}/comms/lrzsz lsz:${PORTSDIR}/comms/lrzsz
|
1998-12-18 05:49:20 -05:00
|
|
|
.else
|
1999-10-01 13:01:52 -04:00
|
|
|
RUN_DEPENDS+= rz:${PORTSDIR}/comms/rzsz sz:${PORTSDIR}/comms/rzsz
|
1998-12-18 05:49:20 -05:00
|
|
|
.endif
|