mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
5fa149e175
- Switch to USES=libtool, drop .la files Approved by: portmgr blanket
40 lines
1002 B
Makefile
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>
|