freebsd-ports/irc/srain/Makefile
Marius Strobl 8c30deb681 devel/libconfig: update to 1.7.3
- Chase shared library bump across dependant ports.
- Fetch releases rather than tags from GitHub. [1]
- Properly depend on makeinfo, adding an INFO knob.
- Refresh pkg-descr and COMMENT accordingly.

PR:		261062
Reported by:	dizzy [1]
Approved by:	maintainer timeout
2022-01-26 08:46:25 +01:00

45 lines
1,016 B
Makefile

PORTNAME= srain
DISTVERSION= 1.3.1
PORTREVISION= 1
CATEGORIES= irc
MAINTAINER= ashish@FreeBSD.org
COMMENT= Modern IRC client written in GTK
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libconfig.so:devel/libconfig \
libsecret-1.so:security/libsecret \
libsoup-2.4.so:devel/libsoup
USES= compiler:c11 gettext-tools gnome meson pkgconfig ssl
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT= DOCS
USE_GITHUB= yes
GH_ACCOUNT= SrainApp
DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx
DOCS_MESON_ON= -Ddoc_builders=html,man
DOCS_MESON_OFF= -Ddoc_builders=
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} == base
LDFLAGS+= -lcrypto
post-patch:
${REINPLACE_CMD} -e "/dependency('openssl'),/d" \
${WRKSRC}/src/meson.build
.endif
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} \
${STAGEDIR}${DATADIR}/themes \
${STAGEDIR}${PREFIX}/share/metainfo \
${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps
.include <bsd.port.post.mk>