aboutsummaryrefslogtreecommitdiff
path: root/games/wipeclean/Makefile
blob: 6c5a15ed421c65a89de10edf3cdded084fcbab36 (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
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>

PORTNAME=	wipeclean
PORTVERSION=	1.1.2
PORTEPOCH=	1
CATEGORIES=	games
MASTER_SITES=	LOCAL/ehaupt

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	CLI tool to wipe away your error messages in style

LICENSE=	ISCL

USES=		dos2unix nodejs:run tar:xz
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>