# New ports collection makefile for:	wipe
# Date created:				04 February 2005
# Whom:					Edson Brandi <ebrandi@fugspbr.org>
#
# $FreeBSD: ports/security/wipe/Makefile,v 1.3 2009/01/06 17:59:21 pav Exp $
#

PORTNAME=	wipe
PORTVERSION=	2.2.0
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	File and block device wiping utility

USE_BZIP2=	yes
GNU_CONFIGURE=	yes

MAN1=		wipe.1
PORTDOCS=	CHANGES INSTALL LICENSE README TESTING TODO copyright

EXTRA_PATCHES=	${PATCHDIR}/500040-patch-blkdev.c

post-install:
	${INSTALL_MAN} ${WRKSRC}/wipe.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/wipe
	for i in ${PORTDOCS}; do \
		${INSTALL_DATA} ${WRKSRC}/$$i ${DOCSDIR}; \
	done
.endif

.include <bsd.port.mk>
