1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/sysutils/zeroer/Makefile
Emanuel Haupt c4c14fd156 - Use DOC instead of NOPORTDOCS
- Pacify portlint
- Convert header
2013-01-15 13:40:28 +00:00

42 lines
861 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= zeroer
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A command line utility for wiping unallocated space on a filesystem
LIB_DEPENDS= popt:${PORTSDIR}/devel/popt
MAKE_JOBS_SAFE= yes
MAN1= zeroer.1
PLIST_FILES= bin/zeroer
PORTDOCS= README
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lpopt
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
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 ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>