2007-09-15 21:37:09 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.48 2007/09/16 01:37:09 merdely Exp $
|
2001-03-29 04:52:20 -05:00
|
|
|
|
2007-09-15 21:37:09 -04:00
|
|
|
COMMENT= MS-DOS Telix-like serial communication program
|
2000-03-03 07:03:02 -05:00
|
|
|
|
2007-05-23 12:40:55 -04:00
|
|
|
DISTNAME= minicom-2.2
|
2002-03-22 00:31:37 -05:00
|
|
|
CATEGORIES= comms
|
2007-05-23 12:40:55 -04:00
|
|
|
MASTER_SITES= http://alioth.debian.org/frs/download.php/1806/
|
2000-08-30 20:40:30 -04:00
|
|
|
|
2006-07-13 02:47:09 -04:00
|
|
|
HOMEPAGE= http://alioth.debian.org/projects/minicom/
|
2007-05-23 12:40:55 -04:00
|
|
|
MAINTAINER= Chris Kuethe <ckuethe@openbsd.org>
|
2001-03-30 06:33:39 -05:00
|
|
|
|
2004-08-10 04:12:09 -04:00
|
|
|
MODULES= devel/gettext
|
2002-03-22 00:31:37 -05:00
|
|
|
RUN_DEPENDS= ::comms/kermit \
|
|
|
|
::comms/lrzsz
|
1998-10-07 14:51:26 -04:00
|
|
|
|
2006-07-13 02:47:09 -04:00
|
|
|
# GPL
|
2000-05-18 00:41:30 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-21 17:29:50 -05:00
|
|
|
WANTLIB= c ncurses
|
1998-10-07 14:51:26 -04:00
|
|
|
|
2003-12-04 00:34:52 -05:00
|
|
|
COPTS+= -DHAS_EUID
|
2007-05-23 12:40:55 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2005-01-06 14:51:44 -05:00
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include"
|
2002-03-22 00:31:37 -05:00
|
|
|
CONFIGURE_ARGS= --enable-cfg-dir=${SYSCONFDIR}/minicom \
|
2007-05-23 12:40:55 -04:00
|
|
|
--enable-lock-dir=/var/spool/lock \
|
|
|
|
--enable-dfl-port=/dev/cua00 \
|
|
|
|
--enable-dfl-baud=9600
|
1998-05-05 23:36:37 -04:00
|
|
|
|
1998-12-18 05:49:20 -05:00
|
|
|
post-install:
|
2000-08-30 20:40:30 -04:00
|
|
|
${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>
|