aboutsummaryrefslogtreecommitdiff
path: root/net-im/prosody-modules/Makefile
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2017-04-27 06:28:12 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2017-04-27 06:28:12 +0000
commite77f139df9dfc103fb6001b08bce7445bde8f3aa (patch)
treeee5688a59312aa2190dd89915b4f1d4f830e8872 /net-im/prosody-modules/Makefile
parente402118072dc551c9b2af065780ebd6f0ca1f07f (diff)
downloadports-e77f139df9dfc103fb6001b08bce7445bde8f3aa.tar.gz
ports-e77f139df9dfc103fb6001b08bce7445bde8f3aa.zip
New port net-im/prosody-modules
* Modules for net-im/prosody * Based on the patch by Martin Sugioarto <martin@sugioarto.com> PR: 214960 Reviewed by: rakuco, mat Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D10400
Notes
Notes: svn path=/head/; revision=439505
Diffstat (limited to 'net-im/prosody-modules/Makefile')
-rw-r--r--net-im/prosody-modules/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-im/prosody-modules/Makefile b/net-im/prosody-modules/Makefile
new file mode 100644
index 000000000000..77ba8bb35a91
--- /dev/null
+++ b/net-im/prosody-modules/Makefile
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME= prosody-modules
+PORTVERSION= 20170414
+CATEGORIES= net-im
+MASTER_SITES= https://hg.prosody.im/${PORTNAME}/archive/ \
+ LOCAL/tcberner/${PORTNAME}-${PORTVERSION}
+DISTNAME= 39cb2a51e779
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= tcberner@FreeBSD.org
+COMMENT= Prosody modules repository snapshot
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+RUN_DEPENDS= prosodyctl:net-im/prosody
+
+NO_BUILD= yes
+SUB_FILES= pkg-message
+SUB_LIST= INSTALLPATH=${INSTALLPATH}
+PLIST_SUB= INSTALLPATH=${INSTALLPATH}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTNAME}
+INSTALLPATH= ${PREFIX}/lib/${PORTNAME}
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${INSTALLPATH} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} mod_*/*.lua ${STAGEDIR}${INSTALLPATH}
+ cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>