2010-11-20 12:22:40 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2010/11/20 17:22:40 espie Exp $
|
2002-11-20 19:17:58 -05:00
|
|
|
|
2007-09-15 17:14:00 -04:00
|
|
|
COMMENT= SSH monitoring
|
2002-11-20 19:17:58 -05:00
|
|
|
|
2005-09-15 12:03:08 -04:00
|
|
|
VERSION= 1.3
|
2002-11-20 19:17:58 -05:00
|
|
|
DISTNAME= autossh-${VERSION}
|
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.harding.motd.ca/autossh/
|
|
|
|
|
2005-09-15 12:03:08 -04:00
|
|
|
MAINTAINER= Johan Fredin <johan@spelaroll.se>
|
|
|
|
|
2002-11-23 19:29:53 -05:00
|
|
|
# BSD
|
2002-11-20 19:17:58 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-20 05:35:34 -05:00
|
|
|
WANTLIB= c
|
2002-11-20 19:17:58 -05:00
|
|
|
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2010-11-20 12:22:40 -05:00
|
|
|
USE_GROFF = Yes
|
2002-11-20 19:17:58 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
|
|
|
|
DEFS= -D"SSH_PATH=\"/usr/bin/ssh\"" -D"VER=\"${VERSION}\""
|
|
|
|
|
|
|
|
DOCS= README
|
|
|
|
EXAMPLES= autossh.host rscreen
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKBUILD}; \
|
|
|
|
${CC} ${CFLAGS} ${DEFS} -c ${WRKSRC}/autossh.c -o autossh.o; \
|
|
|
|
${CC} -o autossh autossh.o
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/autossh
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/autossh
|
|
|
|
cd ${WRKBUILD} && ${INSTALL_PROGRAM} autossh ${PREFIX}/bin
|
|
|
|
cd ${WRKSRC} && ${INSTALL_MAN} autossh.1 ${PREFIX}/man/man1
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/autossh
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} \
|
|
|
|
${PREFIX}/share/examples/autossh
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|