summaryrefslogtreecommitdiff
path: root/irc/srain/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/srain/Makefile')
-rw-r--r--irc/srain/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/irc/srain/Makefile b/irc/srain/Makefile
new file mode 100644
index 000000000000..aed02818caf5
--- /dev/null
+++ b/irc/srain/Makefile
@@ -0,0 +1,38 @@
+# $FreeBSD$
+
+PORTNAME= srain
+DISTVERSION= 1.1.0
+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= gettext-tools gmake gnome pkgconfig ssl
+USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango
+
+USE_GITHUB= yes
+GH_ACCOUNT= SrainApp
+GNU_CONFIGURE= yes
+MAKE_FLAGS+= MAKE_PROGRAM=${MAKE_CMD}
+CONFIGURE_ARGS+= --disable-debug
+ALL_TARGET= default
+INSTALLS_ICONS= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e '/^MAKE =/s/make/${MAKE_CMD}/' \
+ ${WRKSRC}/Makefile.in
+
+pre-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} \
+ ${STAGEDIR}${DATADIR}/themes \
+ ${STAGEDIR}${PREFIX}/share/metainfo \
+ ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps
+
+.include <bsd.port.mk>