aboutsummaryrefslogtreecommitdiff
path: root/irc/cwirc/Makefile
blob: 873e44cbbe00443baade3643ced01775c5aa81d1 (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
# Created by: db
# $FreeBSD$

PORTNAME=	cwirc
PORTVERSION=	2.0.0
PORTREVISION=	4
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

USES=		pkgconfig

NO_STAGE=	yes
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>