Date: Mon, 27 Jan 2003 09:41:20 -0600 From: Pete Fritchman <petef@absolutbsd.org> To: "Brian F. Feldman" <green@FreeBSD.org> Cc: obrien@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/mail Makefile ports/mail/p5-Mail-SpamAssassin-snapshot Makefile Message-ID: <20030127154120.GL65443@absolutbsd.org> In-Reply-To: <200301271342.h0RDg9Ik043285@green.bikeshed.org> References: <20030126221633.GD23132@dragon.nuxi.com> <200301271342.h0RDg9Ik043285@green.bikeshed.org>
next in thread | previous in thread | raw e-mail | index | archive | help
++ 27/01/03 08:42 -0500 - Brian F. Feldman:
| "David O'Brien" <obrien@FreeBSD.org> wrote:
| > Why not assign an alternate LINK= so that the package is still easily
| > installable with "pkg_add -r"? Set NO_CDROM= if you feel this package
| > isn't useful being on a release CDROM.
|
| That makes sense; how does this look?
|
| --- Makefile 25 Jan 2003 06:42:59 -0000 1.2
| +++ Makefile 27 Jan 2003 13:41:37 -0000
| @@ -25,7 +25,7 @@
| PODPARSER= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
| RUN_DEPENDS+= ${PODPARSER}
| BUILD_DEPENDS+= ${PODPARSER}
| -NO_LATEST_LINK= yes
| +LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}-snapshot-${PORTVERSION}
Leave out the ${PORTVERSION}. The idea is somebody can just go:
# pkg_add -r p5-Mail-SpamAssassin-snapshot
and get the latest version. From bsd.port.mk:
# LATEST_LINK - Install the "Latest" link for the package as ___. Define
# this if the "Latest" link name will be incorrectly determined.
(look in
ftp://ftp.freebsd.org//pub/FreeBSD/ports/i386/packages-5-current/Latest)
--pete
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030127154120.GL65443>
