openbsd-ports/comms/minicom/Makefile

55 lines
1.7 KiB
Makefile
Raw Normal View History

2002-03-22 00:31:37 -05:00
# $OpenBSD: Makefile,v 1.34 2002/03/22 05:31:37 form Exp $
2001-03-29 04:52:20 -05:00
2002-03-22 00:31:37 -05:00
COMMENT= "MS-DOS Telix-like serial communication program"
2002-03-22 00:31:37 -05:00
DISTNAME= ${PKGNAME}.src
PKGNAME= minicom-2.00.0
CATEGORIES= comms
NEED_VERSION= 1.515
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/serialcomm/dialout
2002-03-22 00:31:37 -05:00
HOMEPAGE= http://www.pp.clinet.fi/~walker/minicom.html
2001-03-30 06:33:39 -05:00
2002-03-22 00:31:37 -05:00
MODULES= gettext
RUN_DEPENDS= ::comms/kermit \
::comms/lrzsz
1998-10-07 14:51:26 -04:00
2002-03-22 00:31:37 -05:00
MAINTAINER= Oleg Safiullin <form@openbsd.org>
1998-05-05 23:36:37 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
1998-10-07 14:51:26 -04:00
2002-03-22 00:31:37 -05:00
WRKDIST= ${WRKDIR}/${PKGNAME}
COPTS= -DHAS_EUID
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= --enable-cfg-dir=${SYSCONFDIR}/minicom \
--enable-lock-dir=/var/spool/lock
post-patch:
@perl -pi -e "s@/usr/local/bin/@${LOCALBASE}/bin/@g;s@/sz@/lsz@g; \
s@/sb@/lsb@g;s@/sx@/lsx@g;s@/rz@/lrz@g;s@/rb@/lrb@g; \
s@/rx@/lrx@g" ${WRKSRC}/src/rwconf.c
1998-05-05 23:36:37 -04:00
1998-12-18 05:49:20 -05:00
post-install:
2002-03-22 00:31:37 -05:00
@chown uucp:dialer ${PREFIX}/bin/minicom
@chmod 4111 ${PREFIX}/bin/minicom
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/minicom
2002-03-22 00:31:37 -05:00
${INSTALL_DATA} ${WRKDIST}/doc/minicom.users \
${PREFIX}/share/examples/minicom/minicom.users.sample
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/minicom
${INSTALL_DATA} ${WRKDIST}/doc/* ${PREFIX}/share/doc/minicom
@rm ${PREFIX}/share/doc/minicom/Makefile*
${INSTALL_DATA} ${WRKDIST}/AUTHORS ${PREFIX}/share/doc/minicom
${INSTALL_DATA} ${WRKDIST}/COPYING ${PREFIX}/share/doc/minicom
${INSTALL_DATA} ${WRKDIST}/ChangeLog ${PREFIX}/share/doc/minicom
@(umask 022; cp -RP ${WRKDIST}/extras ${PREFIX}/share/examples/minicom)
@find ${PREFIX}/share/examples/minicom -name Makefile\* \
-exec rm -f {} \;
1998-12-18 05:49:20 -05:00
1998-05-05 23:36:37 -04:00
.include <bsd.port.mk>