2013-01-15 13:40:28 +00:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
2006-01-04 20:34:52 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= zeroer
|
|
|
|
PORTVERSION= 0.1
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 1
|
2006-01-04 20:34:52 +00:00
|
|
|
CATEGORIES= sysutils
|
2008-03-27 19:27:34 +00:00
|
|
|
MASTER_SITES= CRITICAL
|
2006-01-04 20:34:52 +00:00
|
|
|
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
|
|
COMMENT= A command line utility for wiping unallocated space on a filesystem
|
|
|
|
|
|
|
|
LIB_DEPENDS= popt:${PORTSDIR}/devel/popt
|
|
|
|
|
2009-03-27 09:53:36 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2006-01-04 20:34:52 +00:00
|
|
|
MAN1= zeroer.1
|
|
|
|
PLIST_FILES= bin/zeroer
|
|
|
|
PORTDOCS= README
|
|
|
|
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lpopt
|
|
|
|
|
2013-01-15 13:40:28 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2006-01-04 20:34:52 +00:00
|
|
|
do-build:
|
|
|
|
${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \
|
|
|
|
-o ${WRKSRC}/${PORTNAME}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
|
|
|
|
|
2013-01-15 13:40:28 +00:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2006-01-04 20:34:52 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|