aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ratbox-respond/Makefile
blob: 51924143f424dcb8876c6c9ad88283602d0c8b6d (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
40
41
42
43
44
# New ports collection makefile for:    ratbox-respond
# Date Created:             2006-04-29
# Whom:                 Shaun Amott <shaun@inerd.com>
#
# $FreeBSD$
#

PORTNAME=   ratbox-respond
PORTVERSION=    1.0
CATEGORIES= irc sysutils
MASTER_SITES=   ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/${PORTNAME}/      \
        ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/${PORTNAME}/  \
        http://respond.ircd-ratbox.org/download/            \
        ftp://ftp.parodius.com/pub/ircd-ratbox/${PORTNAME}/
EXTRACT_SUFX=   .tgz

MAINTAINER= shaun@FreeBSD.org
COMMENT=    Client-side implementation of the challenge oper system in ircd-ratbox

GNU_CONFIGURE=  yes
USE_OPENSSL=    yes

EXTDIR=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WRKSRC=     ${EXTDIR}/${PORTNAME}

SUB_FILES=  pkg-message

PORTDOCS=   challenge.txt

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_SCRIPT} ${EXTDIR}/makekeypair ${PREFIX}/bin

    @${MKDIR} ${EXAMPLESDIR}/client-scripts
    ${INSTALL_DATA} ${EXTDIR}/client-scripts/* ${EXAMPLESDIR}/client-scripts

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${EXTDIR} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>