mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
1ce58015ec
USES=nodejs defaults to www/node20 now.
29 lines
662 B
Makefile
29 lines
662 B
Makefile
PORTNAME= wipeclean
|
|
PORTVERSION= 1.1.2
|
|
PORTREVISION= 2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= LOCAL/ehaupt
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= CLI tool to wipe away your error messages in style
|
|
WWW= https://github.com/JeanJouliaCode/wipeClean
|
|
|
|
LICENSE= ISCL
|
|
|
|
USES= dos2unix nodejs:run tar:xz
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
|
|
${LN} -fs ${DATADIR}/node_modules/wipeclean/index.js \
|
|
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
dist: clean
|
|
@npm install --prefix ${WRKSRC} ${PORTNAME}@${PORTVERSION}
|
|
@${TAR} -C ${WRKDIR} -cvJpf ${DISTDIR}/${DISTFILES} ${DISTNAME}
|
|
|
|
.include <bsd.port.mk>
|