aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/uptimed/Makefile
blob: 3cfb3cfbd65d31aa2aa9dbc8cc4f0c040804ac08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    uptimed
# Date created:             23 July 2002
# Whom:                 Andy Fawcett <andy@athame.co.uk>
#
# $FreeBSD$

PORTNAME=   uptimed
PORTVERSION=    0.2.0
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= uptimed
DISTNAME=   ${PORTNAME}-${PORTVERSION}

MAINTAINER= andy@athame.co.uk

PREFIX=     ${LOCALBASE}

INSTALLS_SHLIB= yes

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --prefix=${LOCALBASE}

USE_GMAKE=  yes

MAN1=       uprecords.1
MAN8=       uptimed.8

post-install:
    ${INSTALL_SCRIPT}   ${FILESDIR}/uptimed.sh.sample ${PREFIX}/etc/rc.d/
    ${INSTALL_PROGRAM}  ${PREFIX}/bin/uprecords ${PREFIX}/www/cgi-bin/uprecords.cgi
    ${INSTALL_DATA}     ${WRKSRC}/sample-cgi/* ${PREFIX}/www/cgi-bin/

.include <bsd.port.mk>