Date: Fri, 03 Jan 2003 08:11:19 +0900 From: Kimura Fuyuki <fuyuki@hadaly.org> To: adam@vectors.cx Cc: dd@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: dict binary clash Message-ID: <86n0mjw3jc.wl@hadaly.dyndns.org> In-Reply-To: <20030102075015.GD87420@vectors.cx> References: <20030102075015.GD87420@vectors.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
At Wed, 1 Jan 2003 23:50:15 -0800, Adam Weinberger <adam@vectors.cx> wrote: > > Both textproc/dict and net/p5-Net-Dict install ${PREFIX}/bin/dict as a > binary. It'd be nice to see p5-Net-Dict's binary renamed to something > like p5-dict or something. True, here is a patch. (pod tweaking is too tedious... someone want to do that? ;) cvs server: Diffing . Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/p5-Net-Dict/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 25 Jul 2002 23:18:09 -0000 1.1 +++ Makefile 2 Jan 2003 22:56:44 -0000 @@ -15,7 +15,7 @@ MAINTAINER= fuyuki@hadaly.org RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/Cmd.pm:${PORTSDIR}/net/p5-Net -# if you want to run dict(1): +# if you want to run pdict(1): #RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/AppConfig/Std.pm:${PORTSDIR}/devel/p5-AppConfig-Std # if you want to run tkdict(1) too: #RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk @@ -23,10 +23,12 @@ PERL_CONFIGURE= yes MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -MAN1= dict.1 tkdict.1 +MAN1= pdict.1 tkdict.1 MAN3= Net::Dict.3 post-patch: - ${PERL} -pi -e 's/^&configure.*$$//' ${WRKSRC}/Makefile.PL + ${PERL} -pi -e 's/^&configure.*$$//;s/dict tkdict/p$$&/' \ + ${WRKSRC}/Makefile.PL + ${MV} ${WRKSRC}/dict ${WRKSRC}/pdict .include <bsd.port.mk> Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/net/p5-Net-Dict/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 25 Jul 2002 23:18:09 -0000 1.1 +++ pkg-plist 2 Jan 2003 22:56:44 -0000 @@ -1,4 +1,4 @@ -bin/dict +bin/pdict bin/tkdict lib/perl5/site_perl/%%PERL_VER%%/Net/Dict.pm lib/perl5/site_perl/%%PERL_VER%%/Net/Dict.pod cvs server: Diffing files -- fuyuki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86n0mjw3jc.wl>