summaryrefslogtreecommitdiffstats
path: root/security/bcwipe/Makefile
blob: 9355266b31b2bd0a1f90151780cc620cf0273552 (plain)
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
# New ports collection makefile for:   bcwipe
# Date created:                                Mar 4, 2001
# Whom:                                        crow
#
# $FreeBSD$
#

PORTNAME=	bcwipe
PORTVERSION=	1.2.3
CATEGORIES=	security
MASTER_SITES=	http://www.jetico.com/linux/ \
		http://www.underworld.hu/~crow/distfiles/
DISTNAME=	BCWipe-${PORTVERSION:S/./-/g:S/-/./}

MAINTAINER=	crow@nektor.hu
COMMENT=	BCWipe securely erase data from magnetic and solid-state memory

NO_CDROM=	yes
USE_REINPLACE=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}

MAN1=	bcwipe.1

post-patch:
	@${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
	@${REINPLACE_CMD} -e "s,fprintf(stderr\,string),fprintf(stderr\,\"%s\"\,string),g" ${WRKSRC}/wipe.c

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud