mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
4763addcb5
PR: 113376 Submitted by: Erik Greenwald <erik@smluc.org> (maintainer)
41 lines
887 B
Makefile
41 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.9
|
|
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>
|