Date: Tue, 27 May 2003 12:12:50 +0200 From: Kirill Ponomarew <ponomarew@oberon.net> To: Dmitry Afanasiev <KOT@MATPOCKuH.Ru> Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/52712: New version of autocd port Message-ID: <20030527101250.GA31950@krion> In-Reply-To: <200305270903.h4R93bfF067701@orion.ifmo.ru> References: <200305270903.h4R93bfF067701@orion.ifmo.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <bsd.port.mk> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030527101250.GA31950>