summaryrefslogtreecommitdiffstats
path: root/net/tesseras-paste/Makefile
blob: b0e12222e4244078267c92c470961f52c9d83804 (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
28
29
30
31
32
33
34
35
36
37
COMMENT =	decentralized pastebin built on tesseras-dht

V =		0.1.0
DISTNAME =	tesseras-paste-${V}

CATEGORIES =	net

HOMEPAGE =	https://tesseras.net

MAINTAINER =	Murilo Ijanc <murilo@ijanc.org>

# ISC
PERMIT_PACKAGE =	Yes

SITES =		https://tesseras.net/pub/tesseras-paste/${V}/

WANTLIB +=	${MODCARGO_WANTLIB}

MODULES =	devel/cargo

DISTFILES =	${DISTNAME}${EXTRACT_SUFX}

CONFIGURE_STYLE =	cargo

SEPARATE_BUILD =	Yes

MODCARGO_RUSTFLAGS =	-C debuginfo=0

post-install:
	${INSTALL_MAN} ${WRKSRC}/tp.1 ${PREFIX}/man/man1/
	${INSTALL_MAN} ${WRKSRC}/tpd.1 ${PREFIX}/man/man1/
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pkg-readmes
	${SUBST_DATA} ${PKGDIR}/README \
		${PREFIX}/share/doc/pkg-readmes/${PKGSTEM}

.include "crates.inc"
.include <bsd.port.mk>