Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Aug 2016 14:41:26 +0200
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        koobs@FreeBSD.org, marino@freebsd.org, Kevin Lo <kevlo@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r419671 - in head/astro: . py-horoscopegenerator
Message-ID:  <9A8E3568A0FC7CBBDA467585@ogg.in.absolight.net>
In-Reply-To: <17dd4101-9c8f-b20f-58a2-82760fa040b1@FreeBSD.org>
References:  <201608050755.u757tYOi052449@repo.freebsd.org> <968D6E601071E0C74CE38307@ogg.in.absolight.net> <a70338de-a0fd-475f-ed0e-aa5b38ba1ff8@marino.st> <17dd4101-9c8f-b20f-58a2-82760fa040b1@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--==========F04D68802FF5030CF3C4==========
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline



+--On 5 ao=C3=BBt 2016 22:32:29 +1000 Kubilay Kocak <koobs@FreeBSD.org> =
wrote:
| On 5/08/2016 10:27 PM, John Marino wrote:
|> On 8/5/2016 07:19, Mathieu Arnold wrote:
|>> +--On 5 ao=C3=BBt 2016 07:55:34 +0000 Kevin Lo <kevlo@FreeBSD.org> =
wrote:
|>> | +PORTNAME=3D    horoscopegenerator
|>> | +PORTVERSION=3D    0.1.8
|>> | +CATEGORIES=3D    astro python
|>> | +MASTER_SITES=3D    CHEESESHOP
|>> | +DISTNAME=3D    ${PORTNAME:S/h/H/:S/g/G/}-${PORTVERSION}
|>>=20
|>> You should use PORTNAME=3DHoroscopeGenerator instead of doing things =
like
|>> this (it makes it a bit hard to figure out what you mean, at first.)
|>>=20
|>=20
|> I thought mixed case was discouraged.

Well, I've had a look at the porter's handbook, and it doesn't say anything
like that, it must be some urban legend.

There is one case that is only documented in an example, in the table at
the end of the Package Naming Convention section [1], and it is for single
programs, like, say, you have this distribution file named PSTree-1.0,
which produces bin/pstree and man/man1/pstree.1, you have to name the port
pstree in lower case, so that people don't wonder wtf.  It is the only =
case.

1:
<https://www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html#=
porting-pkgname>

|> Anyway, this would have been fine:
|> DISTNAME=3D    ${PORTNAME:tl}-${PORTVERSION}
|>=20
|> right?
|=20
| Right

In that case, the distfile is "HoroscopeGenerator-0.1.8", so setting
PORTNAME to HoroscopeGenerator would have been just fine.

--=20
Mathieu Arnold
--==========F04D68802FF5030CF3C4==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJXpIl2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz
QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85Ipl4QAKdsTmUDHl83+koF01odCbsM
YUSY4Gi0oRVZz04ly2yh6IkwxwjZL9ROFphMiwpZiKqhBI0SDEccqpIWLeNwFMth
rl+ztax37bAg3zzXrtOTreDvRxdksuVNWGMEac12kNtV1JjIDMsTtLlq4bTnf3bb
MHaosCZcOfJi0S07u44DAK2omBSsRKTAeY+k13X1+nlBdaAJhMdjtYgczXNKu5e5
VCVoyRpNUFmeuKSU4iPxotLCNEINLKwpFJwGyWymqRBc04r9jAg6HTydMaoNroUU
ojL+YXwrLrR+DpBvgSYzVymN84bqkAiKiRjKOPwCjNk1AZia5LtqiJCRFJJ7DvR4
xSsiZq2lU+alkwXc4kzH+mUCjHYRrbrCJrR6CAiL+eR2hXNOlcqZg09lgVChBITW
xiAt+o5z39evRVdg+jjv5cnnX6BeGx/AQ5SxY6yTUkdz0qtyNwIbDMWmn1PFJqoP
mabExntbDUNC0c1QYMYpEOOUOvSWOHf/KUFmyYhyUJCMahGKp74353+k8fJivddt
H+JRh3BTP+xaojvEXKflf12bPTAk6SsZXrd7Cix2jSIgWOkDRZVuPnbPq9qlKH2j
5e+aSM1hwefyVAxFXFEv2xSRKVze2Y8Y9YN51RAFvCIcFMV3+qUMRs3TY7G7o/c3
8VwRhnXVcEQbKq7Y5Flq
=US3Z
-----END PGP SIGNATURE-----

--==========F04D68802FF5030CF3C4==========--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9A8E3568A0FC7CBBDA467585>