summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorsalo <salo>2003-04-27 22:28:29 +0000
committersalo <salo>2003-04-27 22:28:29 +0000
commit3a0896fc7fbf04a3418de1f1b6ef2dccfbf4f951 (patch)
treed2b57be3d25bfef13b9e21fce030ef12c1346701 /chat
parente3cebe31213ad1cac7beda160bab9ac3f5545741 (diff)
downloadpkgsrc-3a0896fc7fbf04a3418de1f1b6ef2dccfbf4f951.tar.gz
Bump PKGREVISION: add Makefile.common shared with plugins, install
configuration files needed by plugins.
Diffstat (limited to 'chat')
-rw-r--r--chat/silc-client/Makefile17
-rw-r--r--chat/silc-client/Makefile.common15
-rw-r--r--chat/silc-client/PLIST4
3 files changed, 30 insertions, 6 deletions
diff --git a/chat/silc-client/Makefile b/chat/silc-client/Makefile
index 14801d5cf1f..976a9b3e8ba 100644
--- a/chat/silc-client/Makefile
+++ b/chat/silc-client/Makefile
@@ -1,19 +1,22 @@
-# $NetBSD: Makefile,v 1.23 2003/03/17 20:12:18 salo Exp $
+# $NetBSD: Makefile,v 1.24 2003/04/27 22:28:29 salo Exp $
#
-DISTNAME= silc-client-0.9.12
+DISTNAME= ${SILC_CLIENT_DISTNAME}
+PKGREVISION= 1
CATEGORIES= chat security
MASTER_SITES= http://www.silcnet.org/download/client/sources/ \
ftp://ftp.silcnet.org/silc/client/sources/ \
http://www.fi.silcnet.org/download/client/sources/ \
ftp://ftp.au.silcnet.org/pub/silcnet/client/sources/ \
http://www.at.silcnet.org/download/client/sources/
-EXTRACT_SUFX= .tar.bz2
+EXTRACT_SUFX= ${SILC_CLIENT_EXTRACT_SUFX}
MAINTAINER= salo@netbsd.org
HOMEPAGE= http://www.silcnet.org/
COMMENT= Client for the Secure Internet Live Conferencing (SILC) protocol
+.include "../../chat/silc-client/Makefile.common"
+
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
GNU_CONFIGURE= YES
@@ -25,8 +28,6 @@ SHLIBTOOL_OVERRIDE= ${WRKSRC}/libtool ${WRKSRC}/irssi/libtool \
BUILDLINK_DEPENDS.iconv= libiconv>=1.7
-.include "../../mk/bsd.prefs.mk"
-
PKG_SYSCONFSUBDIR?= silc
MAKE_ENV+= examplesdir=${PREFIX}/share/examples/silc
@@ -43,6 +44,8 @@ CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_DIR}
CONFIGURE_ARGS+= --with-terminfo
CONFIGURE_ARGS+= --without-libtoolfix
+.include "../../mk/bsd.prefs.mk"
+
# Use native curses library.
.if (${OPSYS} == "NetBSD") || (${OPSYS} == "SunOS")
CONFIGURE_ARGS+= --with-vcurses
@@ -80,6 +83,10 @@ CONFIGURE_ARGS+= --disable-asm
PLIST_SRC+= ${PKGDIR}/PLIST
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/irssi/config.h ${SILC_CLIENT_CONFIG_H}
+ ${INSTALL_DATA} ${WRKSRC}/irssi/irssi-config ${SILC_CLIENT_CONFIG}
+
.include "../../converters/libiconv/buildlink2.mk"
.include "../../devel/glib/buildlink2.mk"
diff --git a/chat/silc-client/Makefile.common b/chat/silc-client/Makefile.common
new file mode 100644
index 00000000000..c5143c09b56
--- /dev/null
+++ b/chat/silc-client/Makefile.common
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile.common,v 1.1 2003/04/27 22:28:29 salo Exp $
+#
+
+# Distribution specific information.
+#
+SILC_CLIENT_VERSION= 0.9.12
+SILC_CLIENT_DISTNAME= silc-client-${SILC_CLIENT_VERSION}
+SILC_CLIENT_EXTRACT_SUFX= .tar.bz2
+SILC_CLIENT_DISTFILE= ${SILC_CLIENT_DISTNAME}${SILC_CLIENT_EXTRACT_SUFX}
+
+# These files are generated during silc-client's build, but are required by
+# plugins to compile properly.
+#
+SILC_CLIENT_CONFIG= ${PREFIX}/share/silc/irssi-config
+SILC_CLIENT_CONFIG_H= ${PREFIX}/share/silc/config.h
diff --git a/chat/silc-client/PLIST b/chat/silc-client/PLIST
index 9cf79f7afda..889c9bf119a 100644
--- a/chat/silc-client/PLIST
+++ b/chat/silc-client/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2003/03/17 20:12:18 salo Exp $
+@comment $NetBSD: PLIST,v 1.13 2003/04/27 22:28:29 salo Exp $
bin/silc
lib/silc/libsilc-1.0.so
lib/silc/libsilc-1.0.so.1
@@ -35,6 +35,7 @@ share/doc/silc/manual.txt
share/doc/silc/signals.txt
share/doc/silc/special_vars.txt
share/doc/silc/startup-HOWTO.html
+share/silc/config.h
share/silc/help/action
share/silc/help/admin
share/silc/help/alias
@@ -120,6 +121,7 @@ share/silc/help/watch
share/silc/help/whois
share/silc/help/whowas
share/silc/help/window
+share/silc/irssi-config
share/silc/scripts/autoop.pl
share/silc/scripts/beep.pl
share/silc/scripts/clones.pl