705c944592
- Don't install unneeded docs - Switch to options helpers - Regenerate patches with `make makepatch`
36 lines
795 B
Makefile
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>
|