aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ezbounce-devel/Makefile
blob: 611baaee9bff81a6a9d10cccc43bc085bc4a8e11 (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
# New ports collection makefile for:    ezbounce
# Date created:     19 February 1999
# Whom:         Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   ezbounce
PORTVERSION=    0.99.6
CATEGORIES= irc
MASTER_SITES=   http://druglord.freelsd.org/ezbounce/

MAINTAINER= cpiazza@FreeBSD.org

GNU_CONFIGURE=  yes

do-install:
    @ ${ECHO} ------------------------------------------------------------------
    @ ${ECHO} You will need to read http://druglord.freelsd.org/ezbounce/README
    @ ${ECHO} and http://druglord.freelsd.org/ezbounce/mdidentd.README
    @ ${ECHO} to set up this program.
    @ ${ECHO} Also, edit ${PREFIX}/etc/ezbounce.conf to your liking.
    @ ${ECHO} ------------------------------------------------------------------
    ${INSTALL_PROGRAM} -C ${WRKSRC}/ezbounce ${PREFIX}/sbin
    ${INSTALL_PROGRAM} -C ${WRKSRC}/mdidentd/mdidentd ${PREFIX}/sbin
    @ ${SED} -e s:/path/to:${PREFIX}/sbin: ${WRKSRC}/sample.conf > \
        ${WRKSRC}/sample.conf.new
    if [ ! -f ${PREFIX}/etc/ezbounce.conf ]; then \
            ${INSTALL_SCRIPT} -C ${WRKSRC}/sample.conf.new \
            ${PREFIX}/etc/ezbounce.conf; \
        fi
    ${INSTALL_SCRIPT} -C ${WRKSRC}/sample.conf.new \
        ${PREFIX}/etc/ezbounce.conf.default

.include <bsd.port.mk>