aboutsummaryrefslogtreecommitdiff
path: root/irc/irssi-xmpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/irssi-xmpp/Makefile')
-rw-r--r--irc/irssi-xmpp/Makefile21
1 files changed, 15 insertions, 6 deletions
diff --git a/irc/irssi-xmpp/Makefile b/irc/irssi-xmpp/Makefile
index 105f760df11e..807e988bf34a 100644
--- a/irc/irssi-xmpp/Makefile
+++ b/irc/irssi-xmpp/Makefile
@@ -1,30 +1,39 @@
PORTNAME= irssi-xmpp
-PORTVERSION= 0.54
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.54
+PORTREVISION= 1
CATEGORIES= irc
-MASTER_SITES= http://cybione.org/~irssi-xmpp/files/
+
+PATCH_SITES= https://github.com/ailin-nemui/${PORTNAME}/commit/
+PATCHFILES+= f84cca86f6cbfa34.patch:-p1 # Use full paths to irssi includes
+PATCHFILES+= c7728ea5aa2f4e58.patch:-p1 # GTimeVal -> gint64 transition
MAINTAINER= ports@FreeBSD.org
COMMENT= Irssi plugin to connect to Jabber network
LICENSE= GPLv2
-BROKEN= Doesn't build with Irssi 1.4.1
-
BUILD_DEPENDS= irssi:irc/irssi
LIB_DEPENDS= libloudmouth-1.so:net-im/loudmouth
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= gettext-runtime gnome pkgconfig
+
+USE_GITHUB= yes
+GH_ACCOUNT= cdidier
+
USE_GNOME= glib20
USE_LDCONFIG= yes
+
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
-DATADIR= ${PREFIX}/share/irssi
-DOCSDIR= ${PREFIX}/share/doc/irssi
CFLAGS_aarch64= -fPIC
CFLAGS_amd64= -fPIC
CFLAGS_i386= -fPIC
CFLAGS_powerpc64= -fPIC
+DATADIR= ${PREFIX}/share/irssi
+DOCSDIR= ${PREFIX}/share/doc/irssi
+
OPTIONS_DEFINE= DOCS
post-patch: