openbsd-ports/comms/minicom/Makefile

39 lines
1004 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.14 1999/12/09 03:28:30 form Exp $
#
# Use make LRZSZ=yes to build minicom with lrzsz package support.
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
RUN_DEPENDS= kermit:${PORTSDIR}/comms/kermit
.if defined(USE_LRZSZ) && ${USE_LRZSZ:U} == "YES"
RUN_DEPENDS+= lrz:${PORTSDIR}/comms/lrzsz lsz:${PORTSDIR}/comms/lrzsz
.else
RUN_DEPENDS+= rz:${PORTSDIR}/comms/rzsz sz:${PORTSDIR}/comms/rzsz
.endif
1998-05-05 23:36:37 -04:00
WRKSRC= ${WRKDIR}/${PKGNAME}/src
.if defined(USE_LRZSZ) && ${USE_LRZSZ:U} == "YES"
post-patch:
@cd ${WRKSRC}; ${PATCH} ${PATCH_STRIP} < ${FILESDIR}/patch-lrzsz \
2>/dev/null
1998-12-18 05:49:20 -05:00
.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>