aboutsummaryrefslogtreecommitdiff
path: root/sysutils/uptimed
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-02-05 09:15:50 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-02-05 09:15:50 +0000
commitdb8c09320e9b1102cc8bdf2de0ddf84730bd18a2 (patch)
tree28e9729faa97478bd287303cfd1941f3caa3b9bd /sysutils/uptimed
parent211a500ac7fa1d8e748247e3bb5b1935f0520ce3 (diff)
downloadports-db8c09320e9b1102cc8bdf2de0ddf84730bd18a2.tar.gz
ports-db8c09320e9b1102cc8bdf2de0ddf84730bd18a2.zip
Notes
Diffstat (limited to 'sysutils/uptimed')
-rw-r--r--sysutils/uptimed/Makefile37
-rw-r--r--sysutils/uptimed/distinfo4
2 files changed, 22 insertions, 19 deletions
diff --git a/sysutils/uptimed/Makefile b/sysutils/uptimed/Makefile
index be7aa0857696..d17009b7adad 100644
--- a/sysutils/uptimed/Makefile
+++ b/sysutils/uptimed/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: uptimed
-# Date created: 23 July 2002
-# Whom: Andy Fawcett <andy@athame.co.uk>
-#
+# Created by: Andy Fawcett <andy@athame.co.uk>
# $FreeBSD$
PORTNAME= uptimed
-PORTVERSION= 0.3.16
-PORTREVISION= 2
+PORTVERSION= 0.3.17
CATEGORIES= sysutils
MASTER_SITES= http://podgorny.cz/uptimed/releases/ \
http://www.predatorlabs.net/dl/
@@ -14,27 +10,34 @@ MASTER_SITES= http://podgorny.cz/uptimed/releases/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Uptime daemon
-MAKE_JOBS_SAFE= yes
+LICENSE= GPLv2
-USE_RC_SUBR= ${PORTNAME}
-USE_LDCONFIG= yes
USE_BZIP2= yes
-GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_AUTOTOOLS= libtool aclocal
+USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf
+LIBTOOLIZE_ARGS=--copy --force
ACLOCAL_ARGS= # empty
+AUTOMAKE_ARGS= --copy --add-missing --foreign
+USE_LDCONFIG= yes
+MAKE_JOBS_SAFE= yes
+
+USE_RC_SUBR= ${PORTNAME}
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
+ @${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} ${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/
+ @${MKDIR} ${PREFIX}/www/cgi-bin
+ (cd ${PREFIX}/bin && ${INSTALL_PROGRAM} uprecords \
+ ${PREFIX}/www/cgi-bin/uprecords.cgi)
+ (cd ${WRKSRC}/sample-cgi && ${INSTALL_DATA} * \
+ ${PREFIX}/www/cgi-bin)
+ @${MKDIR} /var/spool/uptimed
.include <bsd.port.mk>
diff --git a/sysutils/uptimed/distinfo b/sysutils/uptimed/distinfo
index 053c3df33f80..953673c16987 100644
--- a/sysutils/uptimed/distinfo
+++ b/sysutils/uptimed/distinfo
@@ -1,2 +1,2 @@
-SHA256 (uptimed-0.3.16.tar.bz2) = f508ff5e98fab9c1bc0c342bf03cc6d1c01a24f2c7ab7ea8fcbfda477e16b12b
-SIZE (uptimed-0.3.16.tar.bz2) = 197338
+SHA256 (uptimed-0.3.17.tar.bz2) = 524ce8984c0d0a780a32025ba3ffb980e5eec3d78e65cf68c91edec7fe833a06
+SIZE (uptimed-0.3.17.tar.bz2) = 269102