openbsd-ports/comms/minicom/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.10 1999/02/17 03:57:12 marc Exp $
1998-05-05 23:36:37 -04:00
#
1998-12-18 05:49:20 -05:00
PKGNAME= minicom-1.82
1998-05-05 23:36:37 -04:00
DISTNAME= ${PKGNAME}.src
CATEGORIES= comms
1998-10-07 14:51:26 -04:00
BROKEN= "can't find this version as of 16feb99"
MIRROR_DISTFILE="can't find this version as of 16feb99"
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} \
ftp://ftp.cistron.nl/pub/people/miquels/software/ \
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
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)
RUN_DEPENDS= lrz:${PORTSDIR}/comms/lrzsz lsz:${PORTSDIR}/comms/lrzsz
.else
RUN_DEPENDS= rz:${PORTSDIR}/comms/rzsz sz:${PORTSDIR}/comms/rzsz
.endif
RUN_DEPENDS+= kermit:${PORTSDIR}/comms/kermit