Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2010 23:44:15 +0200
From:      Matthias Andree <mandree@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        simon@olofsson.de
Subject:   ports/146163: [PATCH] misc/mmv: install links mad mcp mln
Message-ID:  <E1O7bWp-000NuP-4Z@apollo.emma.line.org>
Resent-Message-ID: <201004292150.o3TLo1Cl019785@freefall.freebsd.org>

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

>Number:         146163
>Category:       ports
>Synopsis:       [PATCH] misc/mmv: install links mad mcp mln
>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:   Thu Apr 29 21:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD apollo.emma.line.org 8.0-STABLE FreeBSD 8.0-STABLE #8: Thu Apr 29 10:24:53 CEST 2010
>Description:
This patch is to make the mmv port also install the default links mad,
mcp, mln (append, copy, link).

This builds successfully on an amd64 tinderbox on FreeBSD
{6.4,7.2,8.0}-RELEASE.

Port maintainer (simon@olofsson.de) is cc'd.

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

--- mmv-1.01b.14_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/mmv/Makefile,v
retrieving revision 1.30
diff -u -u -r1.30 Makefile
--- Makefile	6 Oct 2006 20:19:29 -0000	1.30
+++ Makefile	29 Apr 2010 21:40:10 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	mmv
 PORTVERSION=	1.01b.14
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	misc
 MASTER_SITES=	${MASTER_SITE_DEBIAN_POOL}
 DISTNAME=	${PORTNAME}_1.01b.orig
@@ -20,8 +20,8 @@
 COMMENT=	Move/Copy/Append/Link multiple files
 
 CFLAGS+=	-DHAS_DIRENT
-MAN1=		mmv.1
-PLIST_FILES=	bin/mmv
+MAN1=		mmv.1 mad.1 mcp.1 mln.1
+PLIST_FILES=	bin/mmv bin/mad bin/mcp bin/mln
 WRKSRC=		${WRKDIR}/${PORTNAME}-1.01b.orig
 
 do-build:
@@ -30,6 +30,10 @@
 
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
-	@${INSTALL_MAN} ${WRKSRC}/mmv.1 ${PREFIX}/man/man1/mmv.1
+	@${INSTALL_MAN} ${WRKSRC}/mmv.1 ${PREFIX}/man/man1/${PORTNAME}.1
+.for i in mcp mad mln
+	@${LN} ${PREFIX}/bin/${PORTNAME} ${PREFIX}/bin/${i}
+	@${LN} ${PREFIX}/man/man1/${PORTNAME}.1 ${PREFIX}/man/man1/${i}.1
+.endfor
 
 .include <bsd.port.mk>
--- mmv-1.01b.14_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?E1O7bWp-000NuP-4Z>