47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.10 1999/02/17 03:57:12 marc Exp $
|
|
#
|
|
|
|
PKGNAME= minicom-1.82
|
|
DISTNAME= ${PKGNAME}.src
|
|
CATEGORIES= comms
|
|
|
|
BROKEN= "can't find this version as of 16feb99"
|
|
MIRROR_DISTFILE="can't find this version as of 16feb99"
|
|
MAINTAINER= form@OpenBSD.ORG
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
|
ftp://ftp.cistron.nl/pub/people/miquels/software/ \
|
|
http://www.clinet.fi/~walker/
|
|
|
|
MASTER_SITE_SUBDIR= apps/serialcomm/dialout
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}/src
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
.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
|