aboutsummaryrefslogtreecommitdiffstats
path: root/misc/upclient/Makefile
blob: dda524ef3eccbc7f3385c9c689f4f36f2dc4e58c (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
34
35
36
37
38
# New ports collection makefile for:    upclient
# Date created:     20 Aug 1999
# Whom:         Kelly Yancey <kbyanc@posi.net>
#
# $FreeBSD$
#

PORTNAME=   upclient
PORTVERSION=    4.2.1.21
PORTREVISION=   1
CATEGORIES= misc
MASTER_SITES=   http://uptimes.atomicvoid.net/files/ \
        ftp://ftp.uptimes.net/pub/uptimes/ \
        http://www.uptimes.net/download/

MAINTAINER= clefevre@redirect.to

BROKEN=     The 'uptime' project is closed for an undetermined period of \
        time. You are advised to shutdown your uptime client until \
        the new version is ready. See http://www.uptimes.net/ for \
        details.

ALL_TARGET= bsd
BUILD_WRKSRC=   ${WRKSRC}/src

post-patch:
    @${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/scripts/upchk

do-install:
    @${INSTALL_SCRIPT} ${FILESDIR}/upclient.sh ${PREFIX}/etc/rc.d/upclient.sh
    @${INSTALL_DATA} -m 600 ${WRKSRC}/upclient.conf ${PREFIX}/etc/upclient.conf.sample
    @${INSTALL_SCRIPT} ${WRKSRC}/scripts/upchk ${PREFIX}/sbin/upchk
    @${INSTALL_PROGRAM} -g kmem -m 2555 ${WRKSRC}/src/upclient ${PREFIX}/sbin/upclient

post-install:
    @${CAT} ${PKGMESSAGE} | ${SED} 's:/usr/local:${PREFIX}:g'

.include <bsd.port.mk>