aboutsummaryrefslogtreecommitdiff
path: root/net-im/prosody-modules/Makefile
blob: 77ba8bb35a912da3d028fc262eb7edb92b930fa4 (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
# $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>