aboutsummaryrefslogtreecommitdiff
path: root/sysutils/diskscrub/Makefile
blob: 526d24f26cd485861c6c77d566b3606563fa94f1 (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
# New ports collection makefile for:	diskscrub
# Date created:		28 November 2006
# Whom:			Erik Greenwald <erik@smluc.org>
#
# $FreeBSD$
#

PORTNAME=	diskscrub
PORTVERSION=	1.9
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	scrub-${PORTVERSION}

MAINTAINER=	erik@smluc.org
COMMENT=	Writes patterns on files to make retrieving the data more difficult

MAN1=	scrub.1

PLIST_FILES=	bin/scrub

USE_GMAKE=	yes
USE_BZIP2=	yes

post-patch:
	@${REINPLACE_CMD} -e 's/^CFLAGS=/CFLAGS?=/'	\
	                  -e 's/^CC=/CC?=/'		\
	                  ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/scrub ${PREFIX}/bin/scrub
	${INSTALL_MAN} ${WRKSRC}/scrub.1 ${MAN1PREFIX}/man/man1/scrub.1

.include <bsd.port.mk>