aboutsummaryrefslogtreecommitdiffstats
path: root/security/drwebd/Makefile
blob: 4dc7c440d868f4dddfeec8c82d8d2802bf2083d8 (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
39
# New ports collection makefile for:   drwebd
# Date created:        10.05.2002
# Whom:                Andrey A. Chernov <ache@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=       drwebd
PORTVERSION=    1.0
CATEGORIES= security
EXTRACT_ONLY=

MAINTAINER=     ache@FreeBSD.org
COMMENT=    Satellite port to activate DrWeb daemon

DESCR=          ${PORTSDIR}/security/drweb/pkg-descr

RUN_DEPENDS=    ${LOCALBASE}/drweb/drwebd:${PORTSDIR}/security/drweb

NO_BUILD=       yes
NO_WRKSUBDIR=   yes
NO_CHECKSUM=    yes

do-fetch:
    @${DO_NADA}

do-patch:
    ${SED} "s#%PREFIX%#${PREFIX}#g" < ${FILESDIR}/drweb-0.sh \
        > ${WRKSRC}/drweb-0.sh

do-install:
    ${INSTALL_DATA} ${WRKSRC}/drweb-0.sh \
         ${PREFIX}/etc/rc.d/drweb-0.sh-dist
    if [ ! -f ${PREFIX}/etc/rc.d/drweb-0.sh ]; then \
        ${INSTALL_SCRIPT} ${WRKSRC}/drweb-0.sh \
             ${PREFIX}/etc/rc.d/drweb-0.sh; \
    fi

.include <bsd.port.mk>