summaryrefslogtreecommitdiff
path: root/www/rustypaste-cli/Makefile
blob: af81d3dff742e4d86d9878e3f5be0a3f361e6049 (plain)
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
PORTNAME=	rustypaste-cli
DISTVERSIONPREFIX=	v
DISTVERSION=	0.2.0
PORTREVISION=	3
CATEGORIES=	www

MAINTAINER=	DtxdF@disroot.org
COMMENT=	CLI tool for rustypaste
WWW=		https://github.com/orhun/rustypaste-cli/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	orhun

PLIST_DIRS=	${EXAMPLESDIR}
PLIST_FILES=	${EXAMPLESDIR}/config.toml \
		bin/rpaste

post-install:
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/config.toml ${STAGEDIR}${EXAMPLESDIR}
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rpaste

.include <bsd.port.mk>