diff options
Diffstat (limited to 'irc')
-rw-r--r-- | irc/cwirc/Makefile | 12 | ||||
-rw-r--r-- | irc/cwirc/files/Makefile | 6 | ||||
-rw-r--r-- | irc/cwirc/pkg-plist | 2 |
3 files changed, 13 insertions, 7 deletions
diff --git a/irc/cwirc/Makefile b/irc/cwirc/Makefile index 3b09b4d44343..9c99ab19a5b4 100644 --- a/irc/cwirc/Makefile +++ b/irc/cwirc/Makefile @@ -3,7 +3,7 @@ PORTNAME= cwirc PORTVERSION= 2.0.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= irc comms hamradio MASTER_SITES= http://myspace.voo.be/pcoupard/cwirc/download/ \ LOCAL/db @@ -13,14 +13,20 @@ COMMENT= X-Chat Morse plugin 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: @${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} diff --git a/irc/cwirc/files/Makefile b/irc/cwirc/files/Makefile index 89cc21275856..c1eeced452e2 100644 --- a/irc/cwirc/files/Makefile +++ b/irc/cwirc/files/Makefile @@ -19,7 +19,7 @@ TARGET_OS=FREEBSD STAGEDIR=%%STAGEDIR%% PREFIX=%%PREFIX%% -PLUGIN_INSTALL_DIRECTORY=${PREFIX}/lib/xchat/plugins +PLUGIN_INSTALL_DIRECTORY=${PREFIX}/lib/hexchat/plugins FRONTEND_INSTALL_DIRECTORY=${PREFIX}/bin CWIRC_EXTENSIONS_DIRECTORY=${PREFIX}/share/cwirc/extensions #EXTRA_LDFLAGS= @@ -60,7 +60,7 @@ PWD?=pwd CC?=gcc STRIP?=strip -XCHAT_PLUGIN_INCLUDE_PATH=xchat +XCHAT_PLUGIN_INCLUDE_PATH=${PREFIX}/include XCHAT_INC=-I$(XCHAT_PLUGIN_INCLUDE_PATH) #CFLAGS=-Wall -Wstrict-prototypes -O2 -D$(TARGET_OS) @@ -114,7 +114,7 @@ $(FRONTEND): $(FRONTEND_OBJS) $(STRIP) $@ plugin.shared.o: plugin.c \ - $(XCHAT_PLUGIN_INCLUDE_PATH)/xchat-plugin.h \ + $(XCHAT_PLUGIN_INCLUDE_PATH)/hexchat-plugin.h \ types.h \ common.h \ cwirc.h \ diff --git a/irc/cwirc/pkg-plist b/irc/cwirc/pkg-plist index 65702bd8ac86..b2ae9bae4c09 100644 --- a/irc/cwirc/pkg-plist +++ b/irc/cwirc/pkg-plist @@ -1,5 +1,5 @@ bin/cwirc_frontend -lib/xchat/plugins/cwirc.so +lib/hexchat/plugins/cwirc.so %%DOCSDIR%%/COPYING %%DOCSDIR%%/LISEZMOI %%DOCSDIR%%/README |