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

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

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       gmake
GNU_CONFIGURE=  yes
PORTDOCS=   README
USE_RC_SUBR=    tbd

NO_STAGE=   yes
.include <bsd.port.options.mk>

post-patch:
    @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},; \
        s,%%PREFIX%%,${PREFIX},' \
        ${WRKSRC}/addons/usermgmt.cgi

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

.include <bsd.port.mk>