diff options
| author | Jan T <jan@jantuomi.fi> | 2026-07-23 19:24:22 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2026-07-23 19:26:00 +0300 |
| commit | d57b5cd7830a5b4ed1437b1b648dca62a9b6eea3 (patch) | |
| tree | 85c5e69424dd2fe4c07be9dbb1b4267ee1503c3d /net-im/hommabot/Makefile | |
*/*: initial commit
Diffstat (limited to 'net-im/hommabot/Makefile')
| -rw-r--r-- | net-im/hommabot/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net-im/hommabot/Makefile b/net-im/hommabot/Makefile new file mode 100644 index 0000000..1deaa05 --- /dev/null +++ b/net-im/hommabot/Makefile @@ -0,0 +1,39 @@ +PORTNAME= hommabot +PORTVERSION= 2.0.0 +CATEGORIES= net-im + +MAINTAINER= jan@jantuomi.fi +COMMENT= Telegram bot for household task management + +LICENSE= ISCL + +USE_GITHUB= yes +GH_ACCOUNT= jantuomi +GH_PROJECT= hommabot2 +GH_TAGNAME= main + +NO_CHECKSUM= yes +NO_ARCH= yes +NO_BUILD= yes + +RUN_DEPENDS= node:www/node \ + npm:www/npm + +SUB_FILES= pkg-message +USE_RC_SUBR= hommabot + +APPDIR= ${PREFIX}/hommabot +STAGE_APPDIR= ${STAGEDIR}${APPDIR} + +do-install: + ${MKDIR} ${STAGE_APPDIR} + ${INSTALL_DATA} ${WRKSRC}/package.json ${STAGE_APPDIR}/ + ${INSTALL_DATA} ${WRKSRC}/package-lock.json ${STAGE_APPDIR}/ + ${INSTALL_DATA} ${WRKSRC}/tsconfig.json ${STAGE_APPDIR}/ + (cd ${WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGE_APPDIR}/src) + +post-install: + @(cd ${STAGEDIR}${PREFIX} && ${FIND} hommabot -type f -o -type l | ${SORT}) >> ${TMPPLIST} + @(cd ${STAGEDIR}${PREFIX} && ${FIND} hommabot -type d | ${SORT} -r | ${SED} 's|^|@dir |') >> ${TMPPLIST} + +.include <bsd.port.mk> |
