mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
39 lines
893 B
Makefile
39 lines
893 B
Makefile
# 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/ \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= 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>
|