diff options
author | Philip Paeps <philip@FreeBSD.org> | 2017-04-15 21:57:04 +0000 |
---|---|---|
committer | Philip Paeps <philip@FreeBSD.org> | 2017-04-15 21:57:04 +0000 |
commit | 08af87c9bed8b2bfc99b67ddc1d44fbaffed275e (patch) | |
tree | 6d63a3a1814e982e7f796e098b10fdbb0ff033f2 | |
parent | 9311214f179f54c02493fdfac98647cb57f2e000 (diff) | |
download | freebsd-ports-08af87c9bed8b2bfc99b67ddc1d44fbaffed275e.zip |
Irssi plugin for connecting to ICB network
WWW: https://github.com/mglocker/irssi-icb
Submitted by: Santhosh Raju <santhosh.raju@gmail.com>
-rw-r--r-- | irc/Makefile | 1 | ||||
-rw-r--r-- | irc/irssi-icb/Makefile | 31 | ||||
-rw-r--r-- | irc/irssi-icb/distinfo | 3 | ||||
-rw-r--r-- | irc/irssi-icb/files/patch-configure.ac | 26 | ||||
-rw-r--r-- | irc/irssi-icb/pkg-descr | 4 |
5 files changed, 65 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile index 73e28270c023..9ec2fada9ab9 100644 --- a/irc/Makefile +++ b/irc/Makefile @@ -51,6 +51,7 @@ SUBDIR += irssi SUBDIR += irssi-dcc_send_limiter SUBDIR += irssi-fish + SUBDIR += irssi-icb SUBDIR += irssi-otr SUBDIR += irssi-scripts SUBDIR += irssi-xmpp diff --git a/irc/irssi-icb/Makefile b/irc/irssi-icb/Makefile new file mode 100644 index 000000000000..06efdee4c81c --- /dev/null +++ b/irc/irssi-icb/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= irssi-icb +PORTVERSION= 0.17 +CATEGORIES= irc + +MAINTAINER= santhosh.raju@gmail.com +COMMENT= Irssi plugin for connecting to ICB network + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${LOCALBASE}/include/irssi/src/common.h:irc/irssi:irc/irssi +RUN_DEPENDS= irssi:irc/irssi + +USES= autoreconf libtool pkgconfig +USE_LDCONFIG= yes +USE_GNOME= glib20 + +USE_GITHUB= yes +GH_ACCOUNT= mglocker +GH_TAGNAME= c4e2ea8 + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-static --with-irssi=${LOCALBASE}/include/irssi +INSTALL_TARGET= install-strip + +PLIST_FILES= lib/irssi/modules/libicb_core.so \ + lib/irssi/modules/libfe_icb.so + +.include <bsd.port.mk> diff --git a/irc/irssi-icb/distinfo b/irc/irssi-icb/distinfo new file mode 100644 index 000000000000..fb3b62b6aca2 --- /dev/null +++ b/irc/irssi-icb/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1492293020 +SHA256 (mglocker-irssi-icb-0.17-c4e2ea8_GH0.tar.gz) = 444e28d44fcb5ed54d904e74a0f6c19da8adce97a6eb83656748f66315bebd8c +SIZE (mglocker-irssi-icb-0.17-c4e2ea8_GH0.tar.gz) = 23090 diff --git a/irc/irssi-icb/files/patch-configure.ac b/irc/irssi-icb/files/patch-configure.ac new file mode 100644 index 000000000000..175553693e2a --- /dev/null +++ b/irc/irssi-icb/files/patch-configure.ac @@ -0,0 +1,26 @@ +--- configure.ac.orig 2017-01-22 13:24:58 UTC ++++ configure.ac +@@ -19,23 +19,12 @@ AC_ARG_WITH([irssi], + [], + [with_irssi=no]) + +-AS_IF([test "x$with_irssi" = "xno"], [ +- AS_IF([test -f ../irssi-config], +- [with_irssi=".."], +- AS_IF([test -f ../irssi/irssi-config], +- [with_irssi="../.."], +- AS_IF([test -f ../../irssi/irssi-config], +- [with_irssi="../../irssi"], +- AS_ERROR([Could not determine irssi directory])))) ]) + + # fix relative paths + IRSSI_INCLUDE=`cd $with_irssi; pwd` + + AC_SUBST(IRSSI_INCLUDE) + +-AS_IF([test ! -f "$IRSSI_INCLUDE/irssi-config"], +- [AC_ERROR(Not irssi directory: $IRSSI_INCLUDE)] +-) + + PKG_CHECK_MODULES(GLIB, glib-2.0) + diff --git a/irc/irssi-icb/pkg-descr b/irc/irssi-icb/pkg-descr new file mode 100644 index 000000000000..579a011a1dbf --- /dev/null +++ b/irc/irssi-icb/pkg-descr @@ -0,0 +1,4 @@ +irssi-icb provides connectivity to Internet Citizen's Band (icb) +networks for the irssi Internet Relay Chat (IRC) client. + +WWW: https://github.com/mglocker/irssi-icb |