From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 27 03:13:49 2003 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8167A37B401 for ; Tue, 27 May 2003 03:13:49 -0700 (PDT) Received: from office.LF.net (office.LF.net [212.9.190.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 855B443F3F for ; Tue, 27 May 2003 03:13:48 -0700 (PDT) (envelope-from krion@voodoo.oberon.net) Received: from voodoo.oberon.net ([212.118.165.100]) by office.LF.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10) id 19KbSi-000Ogk-00 for freebsd-ports-bugs@FreeBSD.org; Tue, 27 May 2003 12:13:44 +0200 Received: from krion by voodoo.oberon.net with local (Exim 4.10) id 19KbRq-0009uJ-00; ืิ, 27 อมส 2003 12:12:50 +0200 Date: Tue, 27 May 2003 12:12:50 +0200 From: Kirill Ponomarew To: Dmitry Afanasiev Message-ID: <20030527101250.GA31950@krion> Mail-Followup-To: Kirill Ponomarew , Dmitry Afanasiev , freebsd-ports-bugs@FreeBSD.org References: <200305270903.h4R93bfF067701@orion.ifmo.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WhfpMioaduB5tiZL" Content-Disposition: inline In-Reply-To: <200305270903.h4R93bfF067701@orion.ifmo.ru> X-PGP-Fingerprint: 58E7 B953 57A2 D9DD 4960 2A2D 402D 46E9 AEB4 26E5 X-NCC-Regid: de.oberon Sender: Kirill Ponomarew cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/52712: New version of autocd port X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 10:13:49 -0000 --WhfpMioaduB5tiZL Content-Type: multipart/mixed; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Tue, May 27, 2003 at 01:03:37PM +0400, Dmitry Afanasiev wrote: > >Number: 52712 > >Category: ports > >Synopsis: New version of autocd port What do you think about this version? -Kirill --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=diff-autocd Content-Transfer-Encoding: quoted-printable diff -urN autocd.orig/Makefile autocd/Makefile --- autocd.orig/Makefile Tue Apr 1 02:24:53 2003 +++ autocd/Makefile Tue May 27 12:09:18 2003 @@ -14,10 +14,23 @@ COMMENT=3D Compact disc control utility =20 USE_REINPLACE=3D yes +MAN1=3D autocd.1 cdctl.1 =20 post-patch: - @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Makefile +.for file in Makefile + @${REINPLACE_CMD} -e \ + 's|/usr/local|${PREFIX}|g ; \ + s|CFLAGS=3D-Wall -O2 -pipe|CFLAGS?=3D${CFLAGS}|g' \ + ${WRKSRC}/${file} +.endfor =20 -MAN1=3D autocd.1 cdctl.1 +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in README.rus.html + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} + ${STRIP_CMD} ${PREFIX}/bin/${PORTNAME} ${PREFIX}/bin/cdctl +.endfor +.endif =20 .include diff -urN autocd.orig/files/patch-Makefile autocd/files/patch-Makefile --- autocd.orig/files/patch-Makefile Tue Apr 1 02:24:53 2003 +++ autocd/files/patch-Makefile Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ ---- Makefile.orig Tue Mar 11 13:32:37 2003 -+++ Makefile Tue Mar 11 13:33:27 2003 -@@ -1,7 +1,7 @@ - # Makefile for autocd -=20 - # Install prefix --PREFIX=3D/usr/local -+PREFIX=3D%%LOCALBASE%% - # Prefix for rc script. This is default for FreeBSD only! - RCPREFIX=3D$(PREFIX)/etc/rc.d - # Compiler flags diff -urN autocd.orig/pkg-plist autocd/pkg-plist --- autocd.orig/pkg-plist Tue Apr 1 02:24:53 2003 +++ autocd/pkg-plist Tue May 27 11:56:40 2003 @@ -1,5 +1,5 @@ bin/autocd bin/cdctl -bin/pause -bin/eject etc/rc.d/autocd.sh +%%PORTDOCS%%share/doc/autocd/README.rus.html +@dirrm share/doc/autocd --gBBFr7Ir9EOA20Yy-- --WhfpMioaduB5tiZL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+0zohQC1G6a60JuURAtZ6AJoD2FlHKx8zYyAeB1x7krRgdvUJqwCeId17 mBAiEFSquxYE3dx22yLf5Z0= =47lq -----END PGP SIGNATURE----- --WhfpMioaduB5tiZL--