blob: dcdbf06f5bc035d9686539b40e0f14065f567bbb (
plain)
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
|
# Created by: db
# $FreeBSD$
PORTNAME= cwirc
PORTVERSION= 2.0.0
PORTREVISION= 5
CATEGORIES= irc comms hamradio
MASTER_SITES= http://users.skynet.be/ppc/cwirc/download/ \
LOCAL/db
MAINTAINER= db@FreeBSD.org
COMMENT= X-Chat Morse plugin
LICENSE= GPLv2
BUILD_DEPENDS= xchat:${PORTSDIR}/irc/xchat
USES= pkgconfig
OPTIONS_DEFINE= DOCS
post-patch:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
-e 's|%%STAGEDIR%%|${STAGEDIR}|' ${WRKSRC}/Makefile
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in COPYING LISEZMOI README RELEASE_NOTES
@${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}/schematics
.for f in cw_oscillator.jpg rs232_key_connection.jpg
@${INSTALL_DATA} ${WRKSRC}/schematics/$f ${STAGEDIR}${DOCSDIR}/schematics
.endfor
.include <bsd.port.mk>
|