diff --git a/net/irssi-icb/Makefile b/net/irssi-icb/Makefile new file mode 100644 index 00000000000..bf7c01d08e1 --- /dev/null +++ b/net/irssi-icb/Makefile @@ -0,0 +1,42 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2002/02/24 03:42:03 lebel Exp $ + +NOT_FOR_ARCHS= ${NO_SHARED_ARCHS} + +COMMENT= "icb plugin for irssi" + +DISTNAME= irssi-icb-0.13 +MASTER_SITES= http://www.irssi.org/files/icb/ \ + http://nl.irssi.org/files/icb/ \ + http://fi.irssi.org/files/icb/ \ + http://no.irssi.org/files/icb/ \ + http://de.irssi.org/files/icb/ \ + http://uk.irssi.org/files/icb/ \ + http://pl.irssi.org/files/icb/ \ + http://us.irssi.org/files/icb/ + +CATEGORIES= net +NEED_VERSION= 1.504 + +MAINTAINER= David Lebel + +BUILD_DEPENDS= ::net/irssi:configure +RUN_DEPENDS= ::net/irssi + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= --with-irssi=${WRKDIR}/irssi-src + +post-extract: + @mkdir -p ${WRKDIR}/irssi-src + @lndir -s `cd ${PORTSDIR} && cd net/irssi && ${MAKE} show VARNAME=WRKDIST` ${WRKDIR}/irssi-src + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/irssi-icb + ${INSTALL_DATA} ${WRKSRC}/README \ + ${PREFIX}/share/doc/irssi-icb/icb-plugin.txt + +.include diff --git a/net/irssi-icb/distinfo b/net/irssi-icb/distinfo new file mode 100644 index 00000000000..caa8eac9576 --- /dev/null +++ b/net/irssi-icb/distinfo @@ -0,0 +1,3 @@ +MD5 (irssi-icb-0.13.tar.gz) = 51c62042c54d4ba53e938c780b1bef18 +RMD160 (irssi-icb-0.13.tar.gz) = 91a9e80ada685db41f7eaf5504405b9d6cd7cd42 +SHA1 (irssi-icb-0.13.tar.gz) = 44dfe0d39234d5dfc89f8c597ca86f28085bd079 diff --git a/net/irssi-icb/patches/patch-configure b/net/irssi-icb/patches/patch-configure new file mode 100644 index 00000000000..8ca3628aa9b --- /dev/null +++ b/net/irssi-icb/patches/patch-configure @@ -0,0 +1,34 @@ +$OpenBSD: patch-configure,v 1.1.1.1 2002/02/24 03:42:03 lebel Exp $ +--- configure.orig Mon Feb 11 04:29:53 2002 ++++ configure Sat Feb 23 10:40:20 2002 +@@ -3647,8 +3647,8 @@ else + hardcode_direct=yes + hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then +- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' +- hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ++ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ++ hardcode_libdir_flag_spec='${wl}-R$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case "$host_os" in +@@ -3657,8 +3657,8 @@ else + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) +- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' +- hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ++ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ++ hardcode_libdir_flag_spec='${wl}-R$libdir' + ;; + esac + fi +@@ -4173,6 +4173,8 @@ openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no ++ sys_lib_search_path_spec="/usr/lib" ++ sys_lib_dlsearch_path_spec="/usr/lib /usr/local/lib" + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case "$host_os" in + openbsd2.[89] | openbsd2.[89].*) diff --git a/net/irssi-icb/patches/patch-ltmain_sh b/net/irssi-icb/patches/patch-ltmain_sh new file mode 100644 index 00000000000..e12e1fe1dd8 --- /dev/null +++ b/net/irssi-icb/patches/patch-ltmain_sh @@ -0,0 +1,62 @@ +$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2002/02/24 03:42:03 lebel Exp $ +--- ltmain.sh.orig Wed Jan 9 14:26:41 2002 ++++ ltmain.sh Sat Feb 23 10:40:29 2002 +@@ -1062,6 +1062,17 @@ compiler." + continue + ;; + ++ -pthread) ++ case $host in ++ *-*-openbsd*) ++ deplibs="$deplibs $arg" ++ ;; ++ *) ++ continue ++ ;; ++ esac ++ ;; ++ + -module) + module=yes + continue +@@ -4491,40 +4502,6 @@ relink_command=\"$relink_command\"" + # Exit here if they wanted silent mode. + test "$show" = ":" && exit 0 + +- echo "----------------------------------------------------------------------" +- echo "Libraries have been installed in:" +- for libdir in $libdirs; do +- echo " $libdir" +- done +- echo +- echo "If you ever happen to want to link against installed libraries" +- echo "in a given directory, LIBDIR, you must either use libtool, and" +- echo "specify the full pathname of the library, or use the \`-LLIBDIR'" +- echo "flag during linking and do at least one of the following:" +- if test -n "$shlibpath_var"; then +- echo " - add LIBDIR to the \`$shlibpath_var' environment variable" +- echo " during execution" +- fi +- if test -n "$runpath_var"; then +- echo " - add LIBDIR to the \`$runpath_var' environment variable" +- echo " during linking" +- fi +- if test -n "$hardcode_libdir_flag_spec"; then +- libdir=LIBDIR +- eval flag=\"$hardcode_libdir_flag_spec\" +- +- echo " - use the \`$flag' linker flag" +- fi +- if test -n "$admincmds"; then +- echo " - have your system administrator run these commands:$admincmds" +- fi +- if test -f /etc/ld.so.conf; then +- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" +- fi +- echo +- echo "See any operating system documentation about shared libraries for" +- echo "more information, such as the ld(1) and ld.so(8) manual pages." +- echo "----------------------------------------------------------------------" + exit 0 + ;; + diff --git a/net/irssi-icb/pkg/DESCR b/net/irssi-icb/pkg/DESCR new file mode 100644 index 00000000000..1b9ca3f4cc2 --- /dev/null +++ b/net/irssi-icb/pkg/DESCR @@ -0,0 +1 @@ +ICB plugin for the irssi IRC client. diff --git a/net/irssi-icb/pkg/PFRAG.shared b/net/irssi-icb/pkg/PFRAG.shared new file mode 100644 index 00000000000..5bde72f2c48 --- /dev/null +++ b/net/irssi-icb/pkg/PFRAG.shared @@ -0,0 +1,3 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2002/02/24 03:42:03 lebel Exp $ +lib/irssi/modules/libfe_icb.so +lib/irssi/modules/libicb_core.so diff --git a/net/irssi-icb/pkg/PLIST b/net/irssi-icb/pkg/PLIST new file mode 100644 index 00000000000..eb77c69cee2 --- /dev/null +++ b/net/irssi-icb/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2002/02/24 03:42:03 lebel Exp $ +%%SHARED%% +share/doc/irssi-icb/icb-plugin.txt +@dirrm share/doc/irssi-icb