View | Details | Raw Unified | Return to bug 192026
Collapse All | Expand All

(-)Makefile (-9 / +16 lines)
Lines 2-31 Link Here
2
# $FreeBSD: head/irc/irssi-otr/Makefile 357654 2014-06-13 07:36:27Z olgeni $
2
# $FreeBSD: head/irc/irssi-otr/Makefile 357654 2014-06-13 07:36:27Z olgeni $
3
3
4
PORTNAME=	irssi-otr
4
PORTNAME=	irssi-otr
5
PORTVERSION=	0.3
5
PORTVERSION=	1.0.0
6
PORTREVISION=	9
7
CATEGORIES=	irc
6
CATEGORIES=	irc
8
MASTER_SITES=	ftp://download.tuxfamily.org/${MASTER_SITE_SUBDIR}/
7
MASTER_SITES=	GH
9
MASTER_SITE_SUBDIR=	irssiotr
10
8
11
MAINTAINER=	ashish@FreeBSD.org
9
MAINTAINER=	ashish@FreeBSD.org
12
COMMENT=	Plugin for irssi for Off-the-Record (OTR) messaging
10
COMMENT=	Plugin for irssi for Off-the-Record (OTR) messaging
13
11
14
BUILD_DEPENDS=	${LOCALBASE}/include/irssi/src/common.h:${PORTSDIR}/irc/irssi \
12
BUILD_DEPENDS=	${LOCALBASE}/include/irssi/src/common.h:${PORTSDIR}/irc/irssi \
15
		${LOCALBASE}/bin/libgcrypt-config:${PORTSDIR}/security/libgcrypt
13
		${LOCALBASE}/bin/libgcrypt-config:${PORTSDIR}/security/libgcrypt
16
LIB_DEPENDS=	libotr.so.2:${PORTSDIR}/security/libotr3 \
14
LIB_DEPENDS=	libotr.so:${PORTSDIR}/security/libotr \
17
		libgcrypt.so:${PORTSDIR}/security/libgcrypt
15
		libgcrypt.so:${PORTSDIR}/security/libgcrypt
18
RUN_DEPENDS=	irssi:${PORTSDIR}/irc/irssi
16
RUN_DEPENDS=	irssi:${PORTSDIR}/irc/irssi
19
17
20
LICENSE=	GPLv2
18
LICENSE=	GPLv2
21
LICENSE_FILE=	${WRKSRC}/LICENSE
22
19
23
USES=		cmake pkgconfig
20
USES=		pkgconfig
24
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
25
USE_GNOME=	glib20
22
USE_GNOME=	glib20
23
USE_GITHUB=	yes
24
GH_ACCOUNT=	cryptodotis
25
GH_PROJECT=	${PORTNAME}
26
GH_COMMIT=	f4ecd19
27
GH_TAGNAME=	v${PORTVERSION}
28
29
USE_AUTOTOOLS=	autoconf aclocal libtoolize automake
30
ACLOCAL_ARGS=	-I config
31
AUTOMAKE_ARGS=	--add-missing --no-force
32
33
CONFIGURE_ARGS=	--prefix=${LOCALBASE} --with-libotr-inc-prefix=${LOCALBASE}/include
26
34
27
PLIST_FILES=	lib/irssi/modules/libotr.so \
35
PLIST_FILES=	lib/irssi/modules/libotr.so \
28
		%%DOCSDIR%%/LICENSE %%DOCSDIR%%/README
36
		share/irssi/help/otr
29
PLIST_DIRS=	%%DOCSDIR%%
30
37
31
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (irssi-otr-0.3.tar.gz) = 816cb13794c0efa33ee1618a4e926b3f1c3587c675ad3cc44b4f8de3b1b2c60e
1
SHA256 (irssi-otr-1.0.0.tar.gz) = e9ab8f170b83b7bfb6d693e39fdbe59e4b98749253ec30988e41e9dc4fb21cd7
2
SIZE (irssi-otr-0.3.tar.gz) = 33514
2
SIZE (irssi-otr-1.0.0.tar.gz) = 39494
(-)pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
irssi-otr provides Off-the-Record Messaging (OTR) support for
1
irssi-otr provides Off-the-Record Messaging (OTR) support for
2
the irssi Internet Relay Chat (IRC) client.
2
the irssi Internet Relay Chat (IRC) client.
3
3
4
WWW:	http://irssi-otr.tuxfamily.org/
4
WWW:	https://github.com/cryptodotis/irssi-otr
(-)files/patch-CMakeLists.txt (-14 lines)
Lines 1-14 Link Here
1
2
$FreeBSD: head/irc/irssi-otr/files/patch-CMakeLists.txt 340725 2014-01-22 17:40:44Z mat $
3
4
--- CMakeLists.txt.orig
5
+++ CMakeLists.txt
6
@@ -231,7 +231,7 @@
7
 
8
 IF(HAVE_IRSSI)
9
   ADD_LIBRARY(irssiotr SHARED irssi_otr.c otr_util.c otr_ops.c otr_key.c ${PROJECT_BINARY_DIR}/otr-formats.c)
10
-  TARGET_LINK_LIBRARIES(irssiotr ${GLIB_LIBRARIES} ${LIBOTR_LIBRARIES})
11
+  TARGET_LINK_LIBRARIES(irssiotr ${GLIB_LDFLAGS} ${LIBOTR_LIBRARIES})
12
   SET_TARGET_PROPERTIES(irssiotr PROPERTIES 
13
     COMPILE_FLAGS -DTARGET_IRSSI
14
     OUTPUT_NAME "otr"
(-)files/patch-configure.ac (+11 lines)
Line 0 Link Here
1
--- configure.ac.orig	2014-02-12 18:50:45.000000000 -0600
2
+++ configure.ac	2014-07-21 17:07:58.763319403 -0500
3
@@ -71,7 +71,7 @@
4
 
5
 # Hardcoded here since irssi only searches in $HOME/.irssi/modules or this path
6
 # which is unfortunate...
7
-IRSSI_MODULE_DIR="/usr/lib/irssi/modules"
8
+IRSSI_MODULE_DIR="/usr/local/lib/irssi/modules"
9
 AC_SUBST(IRSSI_MODULE_DIR)
10
 
11
 AC_CONFIG_FILES([
(-)files/patch-help_Makefile.am (+10 lines)
Line 0 Link Here
1
--- help/Makefile.am.orig	2014-02-12 18:50:45.000000000 -0600
2
+++ help/Makefile.am	2014-07-21 17:08:26.543319563 -0500
3
@@ -1,6 +1,6 @@
4
 # The day Irssi will be able to check in $(prefix), this will change. Until
5
 # then, it's hardcoded.
6
-helpdir = /usr/share/irssi/help
7
+helpdir = /usr/local/share/irssi/help
8
 help_DATA = otr
9
 
10
 EXTRA_DIST = otr
(-)files/patch-src_Makefile.am (+10 lines)
Line 0 Link Here
1
--- src/Makefile.am.orig	2014-02-12 18:50:45.000000000 -0600
2
+++ src/Makefile.am	2014-07-21 16:43:34.653319339 -0500
3
@@ -1,6 +1,6 @@
4
 AM_CFLAGS = $(LIBOTR_CFLAGS) $(LIBGCRYPT_CFLAGS) $(PACKAGE_FLAGS)
5
 
6
-IRSSI_DIST=/usr/include/irssi
7
+IRSSI_DIST=/usr/local/include/irssi
8
 IRSSI_INCLUDE = -I$(IRSSI_DIST) \
9
 				-I$(IRSSI_DIST)/src \
10
 				-I$(IRSSI_DIST)/src/fe-common/core \

Return to bug 192026