1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/sysutils/uptimed/Makefile
Dmitry Marakasov 5fa149e175 - Convert USE_BZIP2 to USES
- Switch to USES=libtool, drop .la files

Approved by:	portmgr blanket
2014-06-28 10:23:33 +00:00

40 lines
1002 B
Makefile

# Created by: Andy Fawcett <andy@athame.co.uk>
# $FreeBSD$
PORTNAME= uptimed
PORTVERSION= 0.3.17
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://podgorny.cz/uptimed/releases/ \
http://www.predatorlabs.net/dl/
MAINTAINER= ports@FreeBSD.org
COMMENT= Uptime daemon
LICENSE= GPLv2
USES= gmake libtool tar:bzip2
USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf
LIBTOOLIZE_ARGS=--copy --force
ACLOCAL_ARGS= # empty
AUTOMAKE_ARGS= --copy --add-missing --foreign
USE_LDCONFIG= yes
USE_RC_SUBR= ${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/lib/sendmail|/usr/sbin/sendmail| ; \
s|/var/run/uptimed|/var/run/uptimed.pid|' \
${WRKSRC}/etc/uptimed.conf-dist
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/www/cgi-bin
${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/uprecords \
${STAGEDIR}${PREFIX}/www/cgi-bin/uprecords.cgi
${INSTALL_DATA} ${WRKSRC}/sample-cgi/* \
${STAGEDIR}${PREFIX}/www/cgi-bin
@${MKDIR} ${STAGEDIR}/var/spool/uptimed
.include <bsd.port.mk>