freebsd-ports/net-im/profanity/Makefile
Daniel Engberg a47577c55f net-im/profanity: Remove autoreconf dependency
No need to run autoreconf and pull in autoconf-archive anymore

PR:		267267
Reviewed by:	ashish (maintainer)
2022-10-22 22:10:30 +02:00

51 lines
1.4 KiB
Makefile

PORTNAME= profanity
DISTVERSION= 0.13.1
CATEGORIES= net-im
MASTER_SITES= https://github.com/${PORTNAME}-im/${PORTNAME}/releases/download/${DISTVERSION}/
MAINTAINER= ashish@FreeBSD.org
COMMENT= Console based XMPP client
WWW= http://www.profanity.im/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libcurl.so:ftp/curl \
libotr.so:security/libotr \
libuuid.so:misc/e2fsprogs-libuuid \
libgpgme.so:security/gpgme \
libassuan.so:security/libassuan \
libgpg-error.so:security/libgpg-error \
libgcrypt.so:security/libgcrypt \
libsignal-protocol-c.so:net/libsignal-protocol-c \
libstrophe.so:net-im/libstrophe \
libqrencode.so:graphics/libqrencode
USES= cpe gnome libtool ncurses pkgconfig python:3.8+ \
readline sqlite:3 tar:xz
CPE_VENDOR= ${PORTNAME}_project
GNU_CONFIGURE= yes
USE_GNOME= glib20
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --enable-otr --enable-python-plugins --enable-c-plugins \
--enable-pgp --disable-icons-and-clipboard \
--without-xscreensaver --disable-gdk-pixbuf \
--enable-omemo --enable-omemo-qrcode
OPTIONS_DEFINE= NOTIFY
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
NOTIFY_CONFIGURE_ENABLE=notifications
post-patch:
${REINPLACE_CMD} "s,python3-embed,python-${PYTHON_VER}-embed,g" \
${WRKSRC}/configure
post-install:
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/man/man1 "-name *\.1"
.include <bsd.port.mk>