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

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

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

RUN_DEPENDS=    bash:shells/bash

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

SHEBANG_FILES=  addons/usermgmt.cgi

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>