mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
8e01e6cbc7
Submitted by: Rob Farmer <rfarmer@predatorlabs.net> (maintainer, by email)
41 lines
1014 B
Makefile
41 lines
1014 B
Makefile
# New ports collection makefile for: uptimed
|
|
# Date created: 23 July 2002
|
|
# Whom: Andy Fawcett <andy@athame.co.uk>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= uptimed
|
|
PORTVERSION= 0.3.16
|
|
PORTREVISION= 2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://podgorny.cz/uptimed/releases/ \
|
|
http://www.predatorlabs.net/dl/
|
|
|
|
MAINTAINER= rfarmer@predatorlabs.net
|
|
COMMENT= Uptime daemon
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
USE_LDCONFIG= yes
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool aclocal
|
|
ACLOCAL_ARGS= # empty
|
|
|
|
MAN1= uprecords.1
|
|
MAN8= uptimed.8
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/lib/sendmail|/usr/sbin/sendmail|' ${WRKSRC}/etc/uptimed.conf-dist
|
|
@${REINPLACE_CMD} -e 's|/var/run/uptimed|/var/run/uptimed.pid|' ${WRKSRC}/etc/uptimed.conf-dist
|
|
|
|
post-install:
|
|
${MKDIR} ${PREFIX}/www/cgi-bin
|
|
${MKDIR} /var/spool/uptimed
|
|
${INSTALL_PROGRAM} ${PREFIX}/bin/uprecords ${PREFIX}/www/cgi-bin/uprecords.cgi
|
|
${INSTALL_DATA} ${WRKSRC}/sample-cgi/* ${PREFIX}/www/cgi-bin/
|
|
|
|
.include <bsd.port.mk>
|