aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2017-04-15 20:40:33 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2017-04-15 20:40:33 +0000
commitc5be38450c03fc388f7d78524569262e07c3f9ce (patch)
treedf20be79038da6518312b7d3f76b396aa17d91ff /net-im
parente216e4a777f4977bacb4331fd5eb3fde40593832 (diff)
downloadports-c5be38450c03fc388f7d78524569262e07c3f9ce.tar.gz
ports-c5be38450c03fc388f7d78524569262e07c3f9ce.zip
Enable pluginsupport.
PR: 218401 Submitted by: freebsd@get-experience.com While here, add configure flags to prevent linking against X11
Notes
Notes: svn path=/head/; revision=438599
Diffstat (limited to 'net-im')
-rw-r--r--net-im/profanity/Makefile9
-rw-r--r--net-im/profanity/files/patch-configure.ac14
-rw-r--r--net-im/profanity/pkg-plist2
3 files changed, 22 insertions, 3 deletions
diff --git a/net-im/profanity/Makefile b/net-im/profanity/Makefile
index f8375e31a0ed..ca59f0a14ece 100644
--- a/net-im/profanity/Makefile
+++ b/net-im/profanity/Makefile
@@ -2,6 +2,7 @@
PORTNAME= profanity
PORTVERSION= 0.5.1
+PORTREVISION= 1
CATEGORIES= net-im
MASTER_SITES= http://www.profanity.im/
@@ -11,15 +12,17 @@ COMMENT= Console based XMPP client
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-LIB_DEPENDS= libstrophe.so:net-im/libstrophe \
+BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive
+LIB_DEPENDS= libmesode.so:net-im/libmesode \
libcurl.so:ftp/curl \
libotr.so.5:security/libotr \
libuuid.so:misc/e2fsprogs-libuuid \
libgpgme.so:security/gpgme
-USES= ncurses pkgconfig ssl python readline
+USES= ncurses pkgconfig ssl python readline autoreconf libtool
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-otr
+CONFIGURE_ARGS= --enable-otr --enable-python-plugins --enable-c-plugins \
+ --enable-pgp --enable-icons=no --with-xscreensaver=no
CONFIGURE_ENV= LIBS="${CFLAGS} -lcrypto"
USE_GNOME= glib20
diff --git a/net-im/profanity/files/patch-configure.ac b/net-im/profanity/files/patch-configure.ac
new file mode 100644
index 000000000000..dab731a99512
--- /dev/null
+++ b/net-im/profanity/files/patch-configure.ac
@@ -0,0 +1,14 @@
+--- configure.ac.orig 2017-04-15 18:51:39.947886000 +0000
++++ configure.ac 2017-04-15 18:52:27.321723000 +0000
+@@ -105,10 +105,7 @@
+ elif test "x$enable_c_plugins" != xno; then
+ AC_CHECK_LIB([dl], [main],
+ [AM_CONDITIONAL([BUILD_C_API], [true]) LIBS="$LIBS -ldl" AC_DEFINE([HAVE_C], [1], [C support])],
+- [AS_IF(
+- [test "x$enable_c_plugins" = xyes],
+- [AC_MSG_ERROR([dl library needed to run C plugins])],
+- [AM_CONDITIONAL([BUILD_C_API], [false])])
++ [AM_CONDITIONAL([BUILD_C_API], [true])
+ ])
+ else
+ AM_CONDITIONAL([BUILD_C_API], [false])
diff --git a/net-im/profanity/pkg-plist b/net-im/profanity/pkg-plist
index 363fc4eaa6c5..fcca0ac6d0d4 100644
--- a/net-im/profanity/pkg-plist
+++ b/net-im/profanity/pkg-plist
@@ -1,4 +1,6 @@
bin/profanity
+include/profapi.h
+lib/libprofanity.so
man/man1/profanity.1.gz
%%DATADIR%%/themes/aqua
%%DATADIR%%/themes/batman