summaryrefslogtreecommitdiffstats
path: root/security/mac-robber/Makefile
blob: efe853666a2fca9a5bbf08b260aeafc5c93a9efb (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
# Created by: Yonatan <onatan@gmail.com>
# $FreeBSD$

PORTNAME=	mac-robber
PORTVERSION=	1.02
CATEGORIES=	security
MASTER_SITES=	SF

MAINTAINER=	onatan@gmail.com
COMMENT=	Tool for listing Modify, Access, Create timestamps from files

LICENSE=	GPLv2

PLIST_FILES=	bin/mac-robber
PORTDOCS=	CHANGES README

do-build:
	cd ${WRKSRC}; ${CC} ${CFLAGS} -o mac-robber mac-robber.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mac-robber ${STAGEDIR}${PREFIX}/bin

OPTIONS_DEFINE=	DOCS

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud