aboutsummaryrefslogtreecommitdiff
path: root/net-im/prosody-modules/Makefile
blob: 7de6b54cc814ebc183b8820cb5a7f358a29240bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
PORTNAME=	prosody-modules
PORTVERSION=	20210605
CATEGORIES=	net-im
MASTER_SITES=	https://hg.prosody.im/${PORTNAME}/archive/
DISTNAME=	bb8459c220c9
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	rozhuk.im@gmail.com
COMMENT=	Prosody Community modules repository snapshot

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

RUN_DEPENDS=	prosodyctl:net-im/prosody

NO_ARCH=	yes
NO_BUILD=	yes
SUB_FILES=	pkg-message
SUB_LIST=	INSTALLPATH=${INSTALLPATH}
PLIST_SUB=	INSTALLPATH=${INSTALLPATH}
WRKSRC=		${WRKDIR}/Community-Modules-${DISTNAME}
INSTALLPATH=	${PREFIX}/lib/${PORTNAME}

OPTIONS_DEFINE=	DOCS

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>