aboutsummaryrefslogtreecommitdiff
path: root/security/rifiuti2/Makefile
blob: b89ddf4d6b072796c230a2757a5bd22d7b1806aa (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
27
28
29
30
31
32
33
34
35
# Created by: antoine@FreeBSD.org
# $FreeBSD$

PORTNAME=	rifiuti2
PORTVERSION=	0.6.1
CATEGORIES=	security
MASTER_SITES=	https://github.com/abelcheung/rifiuti2/releases/download/${PORTVERSION}/

MAINTAINER=	antoine@FreeBSD.org
COMMENT=	Tool for analyzing Windows recycle bin

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/docs/LICENSE

GNU_CONFIGURE=	yes
USES=		gettext gmake pkgconfig tar:xz
USE_GNOME=	glib20

CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib

PLIST_FILES=	bin/rifiuti \
		bin/rifiuti-vista \
		man/man1/rifiuti.1.gz \
		man/man1/rifiuti-vista.1.gz \
		share/locale/zh_HK/LC_MESSAGES/rifiuti.mo
PORTDOCS=	NEWS.md README.md

OPTIONS_DEFINE=	DOCS

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>