aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ezbounce/Makefile
blob: 9ac2d91a169b941a3feb7352ce58532e603c5478 (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:    ezbounce
# Date created:     19 February 1999
# Whom:         Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#

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

MAINTAINER= ports@FreeBSD.org

GNU_CONFIGURE=  yes

post-patch:
    @${SED} -e "s:/path/to:${PREFIX}/sbin:" ${WRKSRC}/sample.conf > \
        ${WRKSRC}/ezbounce.conf.default

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ezbounce ${PREFIX}/sbin
    ${INSTALL_PROGRAM} ${WRKSRC}/mdidentd/mdidentd ${PREFIX}/sbin
    ${INSTALL_SCRIPT} ${WRKSRC}/ezbounce.conf.default ${PREFIX}/etc
.if !exists(${PREFIX}/etc/ezbounce.conf)
    ${INSTALL_SCRIPT} ${WRKSRC}/ezbounce.conf.default \
        ${PREFIX}/etc/ezbounce.conf
.endif
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/ezbounce
    ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/ezbounce
    ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ezbounce
    ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/ezbounce
    ${INSTALL_DATA} ${WRKSRC}/mdidentd/README \
        ${PREFIX}/share/doc/ezbounce/mdidentd.README
.endif
    @${SED} -e "s:/usr/local:${PREFIX}:g" ${PKGMESSAGE}

.include <bsd.port.mk>