summaryrefslogtreecommitdiff
path: root/comms/thebridge/Makefile
blob: 9f912c7a870be3a0403692c9896a8fa785fef465 (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
# ports collection makefile for:	thebridge
# Date created:		22 June 2004
# Whom:			db
#
# $FreeBSD$
#

PORTNAME=	thebridge
PORTVERSION=	0.72
CATEGORIES=	comms
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	cqinet
EXTRACT_SUFX=	.tgz

MAINTAINER=	db@db.net
COMMENT=	Amateur Radio Echolink conference bridge

GNU_CONFIGURE=	yes
USE_REINPLACE=	yes

PORTDOCS=	README

post-patch:
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/FreeBSD/tbd.sh
	@${MV} ${WRKSRC}/tbd.conf ${WRKSRC}/tbd.conf.sample

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
	${INSTALL_SCRIPT} ${WRKSRC}/FreeBSD/tbd.sh ${PREFIX}/etc/rc.d/tbd.sh.sample

.include <bsd.port.mk>