5c986d6bd0
This fixes a bug, which made it impossible to send files. Reported by: Martin Sugioarto Approved by: rakuco (mentor, implicit)
31 lines
820 B
Makefile
31 lines
820 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= prosody-modules
|
|
PORTVERSION= 20170512
|
|
CATEGORIES= net-im
|
|
MASTER_SITES= https://hg.prosody.im/${PORTNAME}/archive/ \
|
|
LOCAL/tcberner/${PORTNAME}-${PORTVERSION}
|
|
DISTNAME= 9b43b7fc3558
|
|
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>
|