aboutsummaryrefslogtreecommitdiffstats
path: root/security/wipe/Makefile
blob: e4d70c83621a34d696c28ab17eaf13d3d1332e4a (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
35
36
37
38
# New ports collection makefile for:    wipe
# Date created:             04 February 2005
# Whom:                 Edson Brandi <ebrandi@fugspbr.org>
#
# $FreeBSD$
#

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

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