Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  9 Jun 2004 15:39:42 -0400 (EDT)
From:      michael johnson <ahze@ahze.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        chuck@pkix.net
Subject:   ports/67766: [PATCH] sysutils/dvd+rw-tools: [strip binaries]
Message-ID:  <20040609193942.008755E77@ahze.ahze.net>
Resent-Message-ID: <200406091950.i59JoLHu045531@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         67766
>Category:       ports
>Synopsis:       [PATCH] sysutils/dvd+rw-tools: [strip binaries]
>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:   Wed Jun 09 19:50:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     michael johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #50: Thu Jun  3 21:24:59 EDT
>Description:
- strip binaries
 I used the ports macro INSTALL_PROGRAM, and I removed pkg-plist

Port maintainer (chuck@pkix.net) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- dvd+rw-tools-5.19.4.9.7_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/dvd+rw-tools/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	2 Jun 2004 17:17:30 -0000	1.13
+++ Makefile	9 Jun 2004 19:35:12 -0000
@@ -19,14 +19,17 @@
 USE_REINPLACE=	yes
 
 MAN1=		growisofs.1
-
-# This software is installed setuid-root (mode 4755) by default.
-INSTALL_TARGET=		BIN_MODE=00755 install
+BIN_FILES=	growisofs dvd+rw-format dvd+rw-booktype dvd+rw-mediainfo
+PLIST_FILES=	${BIN_FILES:S|^|bin/|}
+PORTDOCS=	index.html
 
 post-patch:
 	${REINPLACE_CMD} -e 's/-O2//' ${WRKSRC}/Makefile.m4
 
-post-install:
+do-install:
+.for i in ${BIN_FILES}
+	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
+.endfor
 	${INSTALL_MAN} ${WRKSRC}/growisofs.1 ${MANPREFIX}/man/man1/
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/sysutils/dvd+rw-tools/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	30 Sep 2003 05:53:23 -0000	1.2
+++ pkg-plist	9 Jun 2004 19:36:18 -0000
@@ -1,6 +1 @@
-bin/growisofs
-bin/dvd+rw-format
-bin/dvd+rw-booktype
-bin/dvd+rw-mediainfo
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+
--- dvd+rw-tools-5.19.4.9.7_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040609193942.008755E77>