2006-01-04 21:34:52 +01:00
|
|
|
# New ports collection makefile for: zeroer
|
|
|
|
# Date created: 2 Jan 2006
|
|
|
|
# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= zeroer
|
|
|
|
PORTVERSION= 0.1
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 1
|
2006-01-04 21:34:52 +01:00
|
|
|
CATEGORIES= sysutils
|
2008-03-27 20:27:34 +01:00
|
|
|
MASTER_SITES= CRITICAL
|
2006-01-04 21:34:52 +01: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 10:53:36 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2006-01-04 21:34:52 +01:00
|
|
|
MAN1= zeroer.1
|
|
|
|
PLIST_FILES= bin/zeroer
|
|
|
|
PORTDOCS= README
|
|
|
|
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lpopt
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|