freebsd-ports/sysutils/diskscrub/Makefile
Shaun Amott cbd80d14b6 Add sysutils/diskscrub:
This port performs disk scrubbing on either an entire disk, a single
file, or 'free space' (by creating a new file that fills the FS and
scrubbing that).

PR:		ports/105980
Submitted by:	Erik Greenwald <erik@smluc.org>
2006-11-28 23:35:01 +00:00

40 lines
887 B
Makefile

# New ports collection makefile for: diskscrub
# Date created: 28 November 2006
# Whom: Erik Greenwald <erik@smluc.org>
#
# $FreeBSD$
#
PORTNAME= diskscrub
PORTVERSION= 1.8
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.pre.mk>
.if ${OSVERSION} < 500000
EXTRA_PATCHES= ${FILESDIR}/extrapatch-freebsd4
.endif
.include <bsd.port.post.mk>