|
Lines 1-32
Link Here
|
| 1 |
# New ports collection makefile for: manipulate_data |
1 |
# Created by: Vaida Bogdan <vaida.bogdan@gmail.com> |
| 2 |
# Date created: 24 Jul 2004 |
|
|
| 3 |
# Whom: Vaida Bogdan <vaida.bogdan@gmail.com> |
| 4 |
# |
| 5 |
# $FreeBSD: ports/security/manipulate_data/Makefile,v 1.3 2008/07/31 03:38:45 vs Exp $ |
2 |
# $FreeBSD: ports/security/manipulate_data/Makefile,v 1.3 2008/07/31 03:38:45 vs Exp $ |
| 6 |
# |
|
|
| 7 |
|
3 |
|
| 8 |
PORTNAME= manipulate_data |
4 |
PORTNAME= manipulate_data |
| 9 |
PORTVERSION= 1.3 |
5 |
PORTVERSION= 1.3 |
|
|
6 |
PORTREVISION= 1 |
| 10 |
CATEGORIES= security |
7 |
CATEGORIES= security |
| 11 |
MASTER_SITES= http://packetstormsecurity.org/groups/thc/ |
8 |
MASTER_SITES= PACKETSTORM/groups/thc |
| 12 |
|
9 |
|
| 13 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
| 14 |
COMMENT= Search/extract/write raw data |
11 |
COMMENT= Search/extract/write raw data |
| 15 |
|
12 |
|
| 16 |
PLIST_FILES= sbin/read_data sbin/replace_data sbin/search_data sbin/write_data |
13 |
OPTIONS_DEFINE= DOCS |
|
|
14 |
|
| 17 |
PORTDOCS= CHANGES README |
15 |
PORTDOCS= CHANGES README |
|
|
16 |
PLIST_FILES= ${SBIN_PROGRAMS:S,^,sbin/,} |
| 17 |
|
| 18 |
SBIN_PROGRAMS= read_data replace_data search_data write_data |
| 19 |
|
| 20 |
.include <bsd.port.options.mk> |
| 21 |
|
| 22 |
post-patch: |
| 23 |
@${REINPLACE_CMD} -e \ |
| 24 |
's|^CC=|CC?=| ; \ |
| 25 |
s| -O2 | $$(CFLAGS) | ; \ |
| 26 |
/strip/s|^|#|' ${WRKSRC}/Makefile |
| 18 |
|
27 |
|
| 19 |
do-install: |
28 |
do-install: |
| 20 |
${INSTALL_PROGRAM} ${WRKSRC}/read_data ${PREFIX}/sbin |
29 |
.for i in ${SBIN_PROGRAMS} |
| 21 |
${INSTALL_PROGRAM} ${WRKSRC}/write_data ${PREFIX}/sbin |
30 |
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/sbin |
| 22 |
${INSTALL_PROGRAM} ${WRKSRC}/search_data ${PREFIX}/sbin |
31 |
.endfor |
| 23 |
${INSTALL_PROGRAM} ${WRKSRC}/replace_data ${PREFIX}/sbin |
32 |
.if ${PORT_OPTIONS:MDOCS} |
| 24 |
|
33 |
@${MKDIR} ${DOCSDIR} |
| 25 |
post-install: |
34 |
.for i in ${PORTDOCS} |
| 26 |
.if !defined(NOPORTDOCS) |
35 |
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} |
| 27 |
${MKDIR} ${DOCSDIR} |
36 |
.endfor |
| 28 |
${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR} |
|
|
| 29 |
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} |
| 30 |
.endif |
37 |
.endif |
| 31 |
|
38 |
|
| 32 |
.include <bsd.port.mk> |
39 |
.include <bsd.port.mk> |