# Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= zeroer PORTVERSION= 0.1 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= CRITICAL MAINTAINER= ehaupt@FreeBSD.org COMMENT= Command-line utility for wiping unallocated space on a filesystem LIB_DEPENDS= popt:${PORTSDIR}/devel/popt PLIST_FILES= bin/zeroer man/man1/zeroer.1.gz PORTDOCS= README CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lpopt OPTIONS_DEFINE= DOCS .include do-build: ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \ -o ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .include