# New ports collection makefile for:	wipe
# Date created:				04 February 2005
# Whom:					Edson Brandi <ebrandi@fugspbr.org>
#
# $FreeBSD: ports/security/wipe/Makefile,v 1.1 2005/03/05 16:04:43 pav Exp $
#

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

MAINTAINER=	ebrandi@fugspbr.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

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 500039
EXTRA_PATCHES=	${PATCHDIR}/500040-patch-blkdev.c
.endif

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.post.mk>
