Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2014 18:45:05 +0200
From:      Sofian Brabez <sbz@FreeBSD.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Marcus von Appen <mva@freebsd.org>, ports-committers@freebsd.org
Subject:   Re: svn commit: r362772 - in head/devel: . py-colorlog
Message-ID:  <20140724164505.GA50194@ogoshi.int.nbs-system.com>
In-Reply-To: <20140724142540.GA26619@FreeBSD.org>
References:  <201407240932.s6O9WjEe028990@svn.freebsd.org> <20140724155705.Horde.R0ccepheGn08mElrGTLytQ1@webmail.df.eu> <20140724142540.GA26619@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 24, 2014 at 02:25:40PM +0000, Alexey Dokuchaev wrote:
> On Thu, Jul 24, 2014 at 03:57:05PM +0200, Marcus von Appen wrote:
> > Alexey Dokuchaev <danfe@freebsd.org>:
> > >+USE_PYTHON=3D		yes
> > >+USE_PYDISTUTILS=3D	yes
> > >+PYDISTUTILS_AUTOPLIST=3D	yes
> > >+
> > >+DOCSDIR=3D	${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
> >=20

Also I suggest you to use something like below:

DOCSDIR=3D	${PREFIX}/share/doc/${PKGNAMEPREFIX:C/...$//}-${PORTNAME}

To respect and have only a directory for the document directory, otherwise =
you
will end with ${LOCALBASE}share/py2X-portname and
${LOCALBASE}/share/doc/py3x-portname on the file system.

In case, it's installed with both 2.X and 3.X version of Python, generally =
the
documents remains the same.

I used this substition to remove the characters -X.Y recently in r362646 [1]

Regards

[1] https://svnweb.freebsd.org/ports/head/devel/py-usb/Makefile?annotate=3D=
362646&pathrev=3D362646#l23

--
Sofian Brabez

--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iEYEARECAAYFAlPROBEACgkQc2NR9CSH5X7YxgCfWGXVpEkiEij/R1bWk2BmbazF
ES8AoNe48AQmQgy5edVp9dQmwjQMXtKi
=0spN
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--



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