aboutsummaryrefslogtreecommitdiffstats
path: root/irc/cwirc/Makefile
blob: ce4f0e1abba7f96a124108d563bb144b2d45a348 (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
# ports collection makefile for:    cwirc
# Date created:     9 April 2008
# Whom:         db
#
# $FreeBSD$
#

PORTNAME=   cwirc
PORTVERSION=    2.0.0
PORTREVISION=   2
CATEGORIES= irc comms hamradio
MASTER_SITES=   http://users.skynet.be/ppc/cwirc/download/ \
        http://www.db.net/downloads/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= db

MAINTAINER= db@FreeBSD.org
COMMENT=    X-Chat morse plugin

BUILD_DEPENDS=  xchat:${PORTSDIR}/irc/xchat

post-patch:
    ${CP} ${FILESDIR}/Makefile ${WRKSRC}
    ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
    ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for f in COPYING LISEZMOI README RELEASE_NOTES
    @${INSTALL_DATA}  ${WRKSRC}/$f ${DOCSDIR}
.endfor
    ${MKDIR} ${DOCSDIR}/schematics
.for f in cw_oscillator.jpg rs232_key_connection.jpg
    @${INSTALL_DATA} ${WRKSRC}/schematics/$f ${DOCSDIR}/schematics
.endfor
    @${ECHO} ""
    @${ECHO} "cwirc docs installed in ${DOCSDIR}"
    @${ECHO} ""
.endif

.include <bsd.port.mk>