1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/security/manipulate_data/Makefile
2014-02-25 11:41:22 +00:00

36 lines
771 B
Makefile

# Created by: Vaida Bogdan <vaida.bogdan@gmail.com>
# $FreeBSD$
PORTNAME= manipulate_data
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= PACKETSTORM/groups/thc
MAINTAINER= ports@FreeBSD.org
COMMENT= Search/extract/write raw data
OPTIONS_DEFINE= DOCS
PORTDOCS= CHANGES README
PLIST_FILES= ${SBIN_PROGRAMS:S,^,sbin/,}
SBIN_PROGRAMS= read_data replace_data search_data write_data
post-patch:
@${REINPLACE_CMD} -e \
's|^CC=|CC?=| ; \
s| -O2 | $$(CFLAGS) | ; \
/strip/s|^|#|' ${WRKSRC}/Makefile
do-install:
.for i in ${SBIN_PROGRAMS}
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/sbin
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>