freebsd-ports/security/manipulate_data/Makefile
Marcelo Araujo 7d75c6f305 - Update MASTER_SITES and WWW line.
- Support CC/CFLAGS properly.
- Trim header.

PR:		ports/172057
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2012-12-20 05:42:23 +00:00

39 lines
804 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
.include <bsd.port.options.mk>
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} ${PREFIX}/sbin/
.endfor
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>