mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 11:26:29 -04:00
irc/cwirc: save from irc/xchat removal, that port expired
- 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
This commit is contained in:
parent
dddf2b5f39
commit
98a6e5f970
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=467654
3 changed files with 13 additions and 7 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= cwirc
|
PORTNAME= cwirc
|
||||||
PORTVERSION= 2.0.0
|
PORTVERSION= 2.0.0
|
||||||
PORTREVISION= 6
|
PORTREVISION= 7
|
||||||
CATEGORIES= irc comms hamradio
|
CATEGORIES= irc comms hamradio
|
||||||
MASTER_SITES= http://myspace.voo.be/pcoupard/cwirc/download/ \
|
MASTER_SITES= http://myspace.voo.be/pcoupard/cwirc/download/ \
|
||||||
LOCAL/db
|
LOCAL/db
|
||||||
|
@ -13,14 +13,20 @@ COMMENT= X-Chat Morse plugin
|
||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
BUILD_DEPENDS= xchat:irc/xchat
|
BUILD_DEPENDS= hexchat:irc/hexchat
|
||||||
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
||||||
|
libfreetype.so:print/freetype2
|
||||||
|
|
||||||
USES= pkgconfig
|
USES= gettext-runtime gnome pkgconfig
|
||||||
|
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
||||||
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
|
||||||
-e 's|%%STAGEDIR%%|${STAGEDIR}|' ${WRKSRC}/Makefile
|
-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:
|
post-install:
|
||||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
TARGET_OS=FREEBSD
|
TARGET_OS=FREEBSD
|
||||||
STAGEDIR=%%STAGEDIR%%
|
STAGEDIR=%%STAGEDIR%%
|
||||||
PREFIX=%%PREFIX%%
|
PREFIX=%%PREFIX%%
|
||||||
PLUGIN_INSTALL_DIRECTORY=${PREFIX}/lib/xchat/plugins
|
PLUGIN_INSTALL_DIRECTORY=${PREFIX}/lib/hexchat/plugins
|
||||||
FRONTEND_INSTALL_DIRECTORY=${PREFIX}/bin
|
FRONTEND_INSTALL_DIRECTORY=${PREFIX}/bin
|
||||||
CWIRC_EXTENSIONS_DIRECTORY=${PREFIX}/share/cwirc/extensions
|
CWIRC_EXTENSIONS_DIRECTORY=${PREFIX}/share/cwirc/extensions
|
||||||
#EXTRA_LDFLAGS=
|
#EXTRA_LDFLAGS=
|
||||||
|
@ -60,7 +60,7 @@ PWD?=pwd
|
||||||
CC?=gcc
|
CC?=gcc
|
||||||
STRIP?=strip
|
STRIP?=strip
|
||||||
|
|
||||||
XCHAT_PLUGIN_INCLUDE_PATH=xchat
|
XCHAT_PLUGIN_INCLUDE_PATH=${PREFIX}/include
|
||||||
|
|
||||||
XCHAT_INC=-I$(XCHAT_PLUGIN_INCLUDE_PATH)
|
XCHAT_INC=-I$(XCHAT_PLUGIN_INCLUDE_PATH)
|
||||||
#CFLAGS=-Wall -Wstrict-prototypes -O2 -D$(TARGET_OS)
|
#CFLAGS=-Wall -Wstrict-prototypes -O2 -D$(TARGET_OS)
|
||||||
|
@ -114,7 +114,7 @@ $(FRONTEND): $(FRONTEND_OBJS)
|
||||||
$(STRIP) $@
|
$(STRIP) $@
|
||||||
|
|
||||||
plugin.shared.o: plugin.c \
|
plugin.shared.o: plugin.c \
|
||||||
$(XCHAT_PLUGIN_INCLUDE_PATH)/xchat-plugin.h \
|
$(XCHAT_PLUGIN_INCLUDE_PATH)/hexchat-plugin.h \
|
||||||
types.h \
|
types.h \
|
||||||
common.h \
|
common.h \
|
||||||
cwirc.h \
|
cwirc.h \
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
bin/cwirc_frontend
|
bin/cwirc_frontend
|
||||||
lib/xchat/plugins/cwirc.so
|
lib/hexchat/plugins/cwirc.so
|
||||||
%%DOCSDIR%%/COPYING
|
%%DOCSDIR%%/COPYING
|
||||||
%%DOCSDIR%%/LISEZMOI
|
%%DOCSDIR%%/LISEZMOI
|
||||||
%%DOCSDIR%%/README
|
%%DOCSDIR%%/README
|
||||||
|
|
Loading…
Add table
Reference in a new issue