freebsd-ports/security/wipe/Makefile
Dmitry Marakasov 705c944592 - Clarify LICENSE
- Don't install unneeded docs
- Switch to options helpers
- Regenerate patches with `make makepatch`
2016-03-12 14:09:35 +00:00

36 lines
795 B
Makefile

# Created by: Edson Brandi <ebrandi@fugspbr.org>
# $FreeBSD$
PORTNAME= wipe
PORTVERSION= 2.3.1
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= File and block device wiping utility
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= tar:bzip2
GNU_CONFIGURE= yes
PLIST_FILES= bin/wipe man/man1/wipe.1.gz
PORTDOCS= CHANGES README TESTING TODO
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|@CFLAGS@|${CFLAGS}|' ${WRKSRC}/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>