aboutsummaryrefslogtreecommitdiff
path: root/irc/ratbox-respond/Makefile
blob: 0f4d1c76e4f7010e1e1d42182f6f231f27a59493 (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
# 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=	http://respond.ratbox.org/download/ \
		ftp://ftp.parodius.com/pub/ircd-ratbox/${PORTNAME}/
EXTRACT_SUFX=	.tgz

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

CONFIGURE_WRKSRC=${WRKSRC}/${PORTNAME}
BUILD_WRKSRC=	${WRKSRC}/${PORTNAME}

USE_OPENSSL=	yes
GNU_CONFIGURE=	yes

SUB_FILES=	pkg-message

PORTDOCS=	*
PORTEXAMPLES=	*
PLIST_FILES=	bin/ratbox-respond bin/makekeypair

do-install:
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/makekeypair ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} challenge.txt ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
	@${MKDIR} ${EXAMPLESDIR}/client-scripts
	${INSTALL_DATA} ${WRKSRC}/client-scripts/* ${EXAMPLESDIR}/client-scripts
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>