summaryrefslogtreecommitdiff
path: root/comms/thebridge/Makefile
blob: b4fab68a66427a6b7a0509ec8050a4c9fdeae7c6 (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
# Created by: db
# $FreeBSD$

PORTNAME=	thebridge
PORTVERSION=	1.09
CATEGORIES=	comms hamradio
MASTER_SITES=	SF/cqinet/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	hamradio@FreeBSD.org
COMMENT=	Amateur Radio Echolink conference bridge

LICENSE=	GPLv2

USES=		gmake shebangfix tar:tgz
GNU_CONFIGURE=	yes
PORTDOCS=	README
USE_RC_SUBR=	tbd
MAKE_ARGS=	AUTOMAKE="${TRUE}"

SHEBANG_FILES=	addons/usermgmt.cgi
SHEBANG_LANG=	bash

INSTALL_TARGET=	install-strip

post-patch:
	@${REINPLACE_CMD} 's!tbdcmd=\/usr\/local!tbdcmd=${PREFIX}!'\
		${WRKSRC}/addons/usermgmt.cgi

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
	@${MKDIR} ${STAGEDIR}${DATADIR}
	${INSTALL_SCRIPT} ${WRKSRC}/addons/usermgmt.cgi ${STAGEDIR}${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/addons/README ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>