ports/172057: security/manipulate_data: Update MASTER_SITES
KATO Tsuguru
tkato432 at yahoo.com
Tue Sep 25 18:20:18 UTC 2012
>Number: 172057
>Category: ports
>Synopsis: security/manipulate_data: Update MASTER_SITES
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 25 18:20:16 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Support CC/CFLAGS properly
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/security/manipulate_data/Makefile security/manipulate_data/Makefile
--- /usr/ports/security/manipulate_data/Makefile 2008-07-31 12:38:45.000000000 +0900
+++ security/manipulate_data/Makefile 2012-09-25 03:41:26.000000000 +0900
@@ -1,32 +1,39 @@
-# New ports collection makefile for: manipulate_data
-# Date created: 24 Jul 2004
-# Whom: Vaida Bogdan <vaida.bogdan at gmail.com>
-#
+# Created by: Vaida Bogdan <vaida.bogdan at gmail.com>
# $FreeBSD: ports/security/manipulate_data/Makefile,v 1.3 2008/07/31 03:38:45 vs Exp $
-#
PORTNAME= manipulate_data
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= security
-MASTER_SITES= http://packetstormsecurity.org/groups/thc/
+MASTER_SITES= PACKETSTORM/groups/thc
MAINTAINER= ports at FreeBSD.org
COMMENT= Search/extract/write raw data
-PLIST_FILES= sbin/read_data sbin/replace_data sbin/search_data sbin/write_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:
- ${INSTALL_PROGRAM} ${WRKSRC}/read_data ${PREFIX}/sbin
- ${INSTALL_PROGRAM} ${WRKSRC}/write_data ${PREFIX}/sbin
- ${INSTALL_PROGRAM} ${WRKSRC}/search_data ${PREFIX}/sbin
- ${INSTALL_PROGRAM} ${WRKSRC}/replace_data ${PREFIX}/sbin
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.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>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list