summaryrefslogtreecommitdiff
path: root/net-mgmt/hawk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/hawk/Makefile')
-rw-r--r--net-mgmt/hawk/Makefile56
1 files changed, 0 insertions, 56 deletions
diff --git a/net-mgmt/hawk/Makefile b/net-mgmt/hawk/Makefile
deleted file mode 100644
index 19955339798f..000000000000
--- a/net-mgmt/hawk/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= hawk
-PORTVERSION= 0.6
-PORTREVISION= 2
-CATEGORIES= net-mgmt
-MASTER_SITES= SF/iphawk/iphawk/Hawk%20${PORTVERSION}/
-
-MAINTAINER= bofh@FreeBSD.org
-COMMENT= Track uptime and DNS status for machines on your networks
-
-DEPRECATED= Works only with EOL php 5.6
-EXPIRATION_DATE= 2018-12-30
-
-LICENSE= GPLv2
-
-RUN_DEPENDS= p5-Net-Netmask>=0:net-mgmt/p5-Net-Netmask \
- p5-Net-Ping-External>=0:net/p5-Net-Ping-External \
- p5-DBI>=0:databases/p5-DBI \
- p5-DBD-mysql>=0:databases/p5-DBD-mysql
-
-USES= mysql:server php:mod perl5
-USE_PHP= mysql
-IGNORE_WITH_PHP= 71 72 73
-
-NO_BUILD= yes
-USE_RC_SUBR= hawk
-
-SUB_LIST= PERL=${PERL}
-SUB_FILES= pkg-message
-
-OPTIONS_DEFINE= DOCS
-
-post-patch:
- @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
- ${WRKSRC}/daemon/hawk
- @${REINPLACE_CMD} -e 's|hawk.conf.inc|${PREFIX}/etc/hawk/php.conf|' \
- ${WRKSRC}/php/hawk.php
-
-do-install:
- ${MKDIR} ${STAGEDIR}${ETCDIR}
- ${INSTALL_DATA} ${WRKSRC}/daemon/hawk.conf ${STAGEDIR}${ETCDIR}/daemon.conf.sample
- ${INSTALL_SCRIPT} ${WRKSRC}/daemon/hawk ${STAGEDIR}${PREFIX}/sbin
- ${MKDIR} ${STAGEDIR}${WWWDIR}/images
- (for f in ${WRKSRC}/php/images/* ${FILESDIR}/favicon.ico; do \
- ${INSTALL_DATA} $$f ${STAGEDIR}${WWWDIR}/images; \
- done)
- ${INSTALL_DATA} ${WRKSRC}/php/hawk.php ${STAGEDIR}${WWWDIR}
- ${INSTALL_DATA} ${WRKSRC}/php/hawk.css ${STAGEDIR}${WWWDIR}
- ${INSTALL_DATA} ${WRKSRC}/php/hawk.conf.inc ${STAGEDIR}${ETCDIR}/php.conf.sample
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${FILESDIR}/create_hawk_db.sql ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${FILESDIR}/create_hawk_user.sql ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>