ports/154209: [PATCH] lang/python: Install symlink for ptags
Craig Leres
leres at ee.lbl.gov
Fri Jan 21 18:20:09 UTC 2011
>Number: 154209
>Category: ports
>Synopsis: [PATCH] lang/python: Install symlink for ptags
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 21 18:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Craig Leres
>Release: FreeBSD 7.2-RELEASE amd64
>Organization:
Lawrence Berkeley National Laboratory
>Environment:
FreeBSD fun.ee.lbl.gov 7.2-RELEASE FreeBSD 7.2-RELEASE #9 r99: Sat Dec
4 23:25:23 PST 2010
leres at fun.ee.lbl.gov:/home/fun/u2/src/7.2-RELEASE/sys/amd64/compile/LBLSMPIPV6
amd64
>Description:
ptags.py is hidden away in /usr/local/share/python*/Tools which makes
it inconvenient to use.
>How-To-Repeat:
>Fix:
Have the meta port install a symlink to it from /usr/local/bin (patch
attached).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk05zXYACgkQWxlAhAje3Juz2QCeLXUy/1/v9AReHcL7FsuEktkt
xZYAniZqhZRZFDSWQYmd11vEoDdvtBHo
=UvzS
-----END PGP SIGNATURE-----
--------------030500030906060709020700
Content-Type: text/plain;
name="patch-Makefile"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="patch-Makefile"
--- Makefile- 2009-07-09 04:26:07.000000000 -0700
+++ Makefile 2011-01-21 10:09:12.000000000 -0800
@@ -8,6 +8,7 @@
PORTNAME= python
PORTVERSION= ${PYTHON_VER}
PORTEPOCH= 2
+PORTREVISION= 1
CATEGORIES= lang python ipv6
MASTER_SITES= # empty
DISTFILES= # empty
@@ -20,8 +21,12 @@
PYTHON_VERSION= ${PYTHON_DEFAULT_VERSION}
NO_BUILD= yes
+PLIST_FILES= bin/ptags
+
do-install:
- @${DO_NADA}
+ ${LN} -sf \
+ ${LOCALBASE}/share/python${PYTHON_VER}/Tools/scripts/ptags.py \
+ ${LOCALBASE}/bin/ptags
# Major upgrade support
PORTUPGRADE_CMD= ${LOCALBASE}/sbin/portupgrade
--------------030500030906060709020700
Content-Type: application/octet-stream;
name="patch-Makefile.sig"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="patch-Makefile.sig"
iEYEABECAAYFAk05zXYACgkQWxlAhAje3Jt+AwCeKA/GucqJQc4vEBI1CGoguadgnLUAn2iZ
L2UZr2dNpJdipr2cJQi/xOyj
--------------030500030906060709020700--
>Release-Note:
>Audit-Trail:
>Unformatted:
This is a multi-part message in MIME format.
--------------030500030906060709020700
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
More information about the freebsd-ports-bugs
mailing list