mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
98a6e5f970
- port to irc/hexchat (runtime tested, works except for opening soundcard, no real keyer here) - remove bundled copy of xchat.h from irc/xchat during build - add a bunch of missing dependencies, found by stage-qa - bump PORTREVISION Approved by: fixit blanket
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# Created by: db
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cwirc
|
|
PORTVERSION= 2.0.0
|
|
PORTREVISION= 7
|
|
CATEGORIES= irc comms hamradio
|
|
MASTER_SITES= http://myspace.voo.be/pcoupard/cwirc/download/ \
|
|
LOCAL/db
|
|
|
|
MAINTAINER= hamradio@FreeBSD.org
|
|
COMMENT= X-Chat Morse plugin
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= hexchat:irc/hexchat
|
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
libfreetype.so:print/freetype2
|
|
|
|
USES= gettext-runtime gnome pkgconfig
|
|
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango
|
|
|
|
post-patch:
|
|
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
|
|
-e 's|%%STAGEDIR%%|${STAGEDIR}|' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|xchat|hexchat|g' \
|
|
-e 's|XCHAT|HEXCHAT|g' ${WRKSRC}/plugin.c
|
|
@${RM} -r ${WRKSRC}/xchat
|
|
|
|
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>
|