|
Lines 1-6
Link Here
|
| 1 |
PORTNAME= profanity |
1 |
PORTNAME= profanity |
| 2 |
PORTVERSION= 0.13.0 |
2 |
DISTVERSION= 0.13.0 |
| 3 |
CATEGORIES= net-im |
3 |
CATEGORIES= net-im |
|
|
4 |
MASTER_SITES= https://github.com/${PORTNAME}-im/${PORTNAME}/releases/download/${DISTVERSION}/ |
| 4 |
|
5 |
|
| 5 |
MAINTAINER= ashish@FreeBSD.org |
6 |
MAINTAINER= ashish@FreeBSD.org |
| 6 |
COMMENT= Console based XMPP client |
7 |
COMMENT= Console based XMPP client |
|
Lines 21-52
LIB_DEPENDS= libcurl.so:ftp/curl \
Link Here
|
| 21 |
libstrophe.so:net-im/libstrophe \ |
22 |
libstrophe.so:net-im/libstrophe \ |
| 22 |
libqrencode.so:graphics/libqrencode |
23 |
libqrencode.so:graphics/libqrencode |
| 23 |
|
24 |
|
| 24 |
USES= cpe ncurses pkgconfig ssl python:3.8+ readline autoreconf libtool gnome \ |
25 |
USES= autoreconf cpe gnome libtool ncurses pkgconfig python:3.8+ \ |
| 25 |
sqlite:3 |
26 |
readline sqlite:3 tar:xz |
| 26 |
CPE_VENDOR= ${PORTNAME}_project |
27 |
CPE_VENDOR= ${PORTNAME}_project |
|
|
28 |
GNU_CONFIGURE= yes |
| 27 |
USE_GNOME= glib20 |
29 |
USE_GNOME= glib20 |
| 28 |
USE_GITHUB= yes |
30 |
USE_LDCONFIG= yes |
| 29 |
GH_ACCOUNT= profanity-im |
31 |
|
|
|
32 |
INSTALL_TARGET= install-strip |
| 30 |
|
33 |
|
| 31 |
GNU_CONFIGURE= yes |
|
|
| 32 |
CONFIGURE_ARGS= --enable-otr --enable-python-plugins --enable-c-plugins \ |
34 |
CONFIGURE_ARGS= --enable-otr --enable-python-plugins --enable-c-plugins \ |
| 33 |
--enable-pgp --disable-icons-and-clipboard \ |
35 |
--enable-pgp --disable-icons-and-clipboard \ |
| 34 |
--without-xscreensaver --disable-gdk-pixbuf \ |
36 |
--without-xscreensaver --disable-gdk-pixbuf \ |
| 35 |
--enable-omemo --enable-omemo-qrcode |
37 |
--enable-omemo --enable-omemo-qrcode |
| 36 |
CONFIGURE_ENV= LIBS="${CFLAGS} -lcrypto" |
38 |
|
| 37 |
INSTALL_TARGET= install-strip |
|
|
| 38 |
OPTIONS_DEFINE= NOTIFY |
39 |
OPTIONS_DEFINE= NOTIFY |
| 39 |
|
40 |
|
| 40 |
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify |
41 |
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify |
| 41 |
NOTIFY_CONFIGURE_ENABLE=notifications |
42 |
NOTIFY_CONFIGURE_ENABLE=notifications |
| 42 |
|
43 |
|
| 43 |
.include <bsd.port.pre.mk> |
|
|
| 44 |
|
| 45 |
post-patch: |
| 46 |
${REINPLACE_CMD} "s,python3-embed,python-${PYTHON_VER}-embed,g" \ |
| 47 |
${WRKSRC}/configure.ac |
| 48 |
|
| 49 |
post-install: |
44 |
post-install: |
| 50 |
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/man/man1 "-name *\.1" |
45 |
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/man/man1 "-name *\.1" |
| 51 |
|
46 |
|
| 52 |
.include <bsd.port.post.mk> |
47 |
.include <bsd.port.mk> |