summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2013-11-27 17:09:57 +0000
committerkhorben <khorben@pkgsrc.org>2013-11-27 17:09:57 +0000
commitc000afbb3231dda933724933dfedc72a7601e974 (patch)
tree37e72e93faef586af776d166eb3767af99c921a5 /chat
parent7603c642a732b845220495610795c86a8dae6f30 (diff)
downloadpkgsrc-c000afbb3231dda933724933dfedc72a7601e974.tar.gz
Also package include/xchat/xchat-plugin.h to allow third-party packages to
build plug-ins for xchat. ok tron@
Diffstat (limited to 'chat')
-rw-r--r--chat/xchat/Makefile8
-rw-r--r--chat/xchat/PLIST5
-rw-r--r--chat/xchat/buildlink3.mk14
3 files changed, 22 insertions, 5 deletions
diff --git a/chat/xchat/Makefile b/chat/xchat/Makefile
index 0e4cea6718a..c16cb8afd04 100644
--- a/chat/xchat/Makefile
+++ b/chat/xchat/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.89 2013/10/10 14:42:02 ryoon Exp $
+# $NetBSD: Makefile,v 1.90 2013/11/27 17:09:57 khorben Exp $
.include "Makefile.common"
PKGNAME= ${DISTNAME}
-PKGREVISION= 19
+PKGREVISION= 20
OWNER= tron@NetBSD.org
COMMENT= X11 (X Window System) IRC client, using the GTK2 toolkit
@@ -37,13 +37,15 @@ CONFIGURE_ARGS+= --disable-xlib
.endif
.endif
-INSTALLATION_DIRS+= share/doc/xchat lib/xchat/plugins
+INSTALLATION_DIRS+= share/doc/xchat lib/xchat/plugins include/xchat
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xchat/
${INSTALL_DATA} ${WRKSRC}/faq.html ${DESTDIR}${PREFIX}/share/doc/xchat/
${INSTALL_DATA} ${WRKSRC}/plugins/plugin20.html \
${DESTDIR}${PREFIX}/share/doc/xchat/
+ ${INSTALL_DATA} ${WRKSRC}/plugins/xchat-plugin.h \
+ ${DESTDIR}${PREFIX}/include/xchat/
.if !empty(PKG_OPTIONS:Mgnome)
diff --git a/chat/xchat/PLIST b/chat/xchat/PLIST
index 7e37cd7af00..97c35b93b13 100644
--- a/chat/xchat/PLIST
+++ b/chat/xchat/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.22 2010/11/16 12:21:10 tron Exp $
+@comment $NetBSD: PLIST,v 1.23 2013/11/27 17:09:57 khorben Exp $
bin/xchat
+include/xchat/xchat-plugin.h
share/applications/xchat.desktop
${PLIST.dbus}share/dbus-1/services/org.xchat.service.service
share/doc/xchat/README
@@ -18,8 +19,8 @@ share/locale/gl/LC_MESSAGES/xchat.mo
share/locale/hu/LC_MESSAGES/xchat.mo
share/locale/it/LC_MESSAGES/xchat.mo
share/locale/ja/LC_MESSAGES/xchat.mo
-share/locale/ko/LC_MESSAGES/xchat.mo
share/locale/kn/LC_MESSAGES/xchat.mo
+share/locale/ko/LC_MESSAGES/xchat.mo
share/locale/lt/LC_MESSAGES/xchat.mo
share/locale/mk/LC_MESSAGES/xchat.mo
share/locale/nl/LC_MESSAGES/xchat.mo
diff --git a/chat/xchat/buildlink3.mk b/chat/xchat/buildlink3.mk
new file mode 100644
index 00000000000..12ddbbcea0a
--- /dev/null
+++ b/chat/xchat/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/11/27 17:09:57 khorben Exp $
+
+BUILDLINK_TREE+= xchat
+
+.if !defined(XCHAT_BUILDLINK3_MK)
+XCHAT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.xchat+= xchat>=2.8.8
+BUILDLINK_ABI_DEPENDS.xchat+= xchat>=2.8.8
+BUILDLINK_PKGSRCDIR.xchat?= ../../chat/xchat
+
+.endif # XCHAT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -xchat