Date: Fri, 21 Jan 2011 10:16:22 -0800 From: Craig Leres <leres@ee.lbl.gov> To: freebsd-gnats-submit@FreeBSD.org Cc: Jon Dugan <jdugan@es.net> Subject: ports/154209: [PATCH] lang/python: Install symlink for ptags Message-ID: <4D39CD76.6050402@ee.lbl.gov> Resent-Message-ID: <201101211820.p0LIK8Dj096504@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D39CD76.6050402>