From: Christer Edwards on 10 May 2010 22:27 On Mon, May 10, 2010 at 8:23 PM, Adam Vande More <amvandemore(a)gmail.com> wrote: >> DISTVERSION= Â Â 3.0pre1 >> is shorter and cleaner >> > > That's longer, and cleaner is debatable. Well I've used DISTVERSION and it now reports 'looks fine.' What is the next step? -- Christer Edwards _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Sahil Tandon on 10 May 2010 22:52 On Tue, 11 May 2010, Alberto Villa wrote: > On Tuesday 11 May 2010 03:37:01 Sahil Tandon wrote: > > Regarding portlint's FATAL output, please review Package Naming > > Conventions in the Handbook. Specifically, "If the software version has > > strings like ``alpha'', ``beta'', ``rc'', or ``pre'', take the first > > letter and put it immediately after a period." So you could try > > sometihng like: > > > > PORTVERSION= 3.0.p1 > > DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/} > > DISTVERSION= 3.0pre1 > is shorter and cleaner I appreciate the brevity, but this requires adjustment with every PORTVERSION change. I prefer a solution that requires one less (albeit simple) manual step; perhaps some sed-fu in DISTVERSION if the DISTNAME example is aesthetically unpalatable. TMTOWTDI. :-) -- Sahil Tandon <sahil(a)FreeBSD.org> _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Sahil Tandon on 11 May 2010 10:31 On May 10, 2010, at 10:52 PM, Sahil Tandon <sahil(a)FreeBSD.org> wrote: > On Tue, 11 May 2010, Alberto Villa wrote: > >> On Tuesday 11 May 2010 03:37:01 Sahil Tandon wrote: >>> Regarding portlint's FATAL output, please review Package Naming >>> Conventions in the Handbook. Specifically, "If the software >>> version has >>> strings like ``alpha'', ``beta'', ``rc'', or ``pre'', take the first >>> letter and put it immediately after a period." So you could try >>> sometihng like: >>> >>> PORTVERSION= 3.0.p1 >>> DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/} >> >> DISTVERSION= 3.0pre1 >> is shorter and cleaner > > I appreciate the brevity, but this requires adjustment with every > PORTVERSION change. I prefer a solution that requires one less > (albeit > simple) manual step; perhaps some sed-fu in DISTVERSION if the > DISTNAME > example is aesthetically unpalatable. TMTOWTDI. :-) Actually, after thinking about this some more, avilla@'s DISTVERSION tweak is more elegant and gives us the same end result with less fiddling. Stick with that and sorry for the noise! -- Sahil Tandon _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Adam Vande More on 11 May 2010 11:23 On Mon, May 10, 2010 at 9:23 PM, Adam Vande More <amvandemore(a)gmail.com>wrote: > On Mon, May 10, 2010 at 9:08 PM, Alberto Villa <avilla(a)freebsd.org> wrote: > >> > PORTVERSION= 3.0.p1 >> > DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/} >> >> DISTVERSION= 3.0pre1 >> is shorter and cleaner >> > > That's longer, and cleaner is debatable. > Opps, I notice the diff now. -- Adam Vande More _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Alberto Villa on 11 May 2010 11:35 glad to be of help :) On 5/11/10, Adam Vande More <amvandemore(a)gmail.com> wrote: > On Mon, May 10, 2010 at 9:23 PM, Adam Vande More > <amvandemore(a)gmail.com>wrote: > >> On Mon, May 10, 2010 at 9:08 PM, Alberto Villa <avilla(a)freebsd.org> wrote: >> >>> > PORTVERSION= 3.0.p1 >>> > DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/} >>> >>> DISTVERSION= 3.0pre1 >>> is shorter and cleaner >>> >> >> That's longer, and cleaner is debatable. >> > > Opps, I notice the diff now. > > -- > Adam Vande More > -- Alberto Villa, FreeBSD committer <avilla(a)FreeBSD.org> http://people.FreeBSD.org/~avilla _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: spamass-milter-0.3.1_9 leaving open zombie processes. Next: gio-querymodules in devel/glib20 |