PORTNAME= zeroer PORTVERSION= 0.1 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Command-line utility for wiping unallocated space on a filesystem WWW= https://critical.ch/zeroer/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpopt.so:devel/popt USES= localbase:ldflags PLIST_FILES= bin/zeroer share/man/man1/zeroer.1.gz PORTDOCS= README LDFLAGS+= -lpopt OPTIONS_DEFINE= DOCS 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}${PREFIX}/share/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include