From owner-freebsd-ports@FreeBSD.ORG Fri Nov 7 02:28:35 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E273B16A4CE for ; Fri, 7 Nov 2003 02:28:35 -0800 (PST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4021C43FB1 for ; Fri, 7 Nov 2003 02:28:33 -0800 (PST) (envelope-from sw@gegenunendlich.de) Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AI3qu-0001Sr-00; Fri, 07 Nov 2003 11:28:28 +0100 Received: from [80.142.205.65] (helo=kyuzo.dunkelkammer.void) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1AI3qt-0004C9-00; Fri, 07 Nov 2003 11:28:27 +0100 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id 8FC3987D2; Fri, 7 Nov 2003 11:28:26 +0100 (CET) Date: Fri, 7 Nov 2003 11:28:26 +0100 From: Stefan Walter To: Greg Lewis Message-ID: <20031107102826.GA20505@kyuzo.dunkelkammer.void> Mail-Followup-To: Greg Lewis , ports@freebsd.org References: <20031105102325.GA5600@kyuzo.dunkelkammer.void> <20031105182705.GA6342@misty.eyesbeyond.com> <20031106165317.GA15763@kyuzo.dunkelkammer.void> <20031106200549.GA46441@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <20031106200549.GA46441@misty.eyesbeyond.com> Organization: Infinity Approximation Task Force X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fingerprint: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 User-Agent: Mutt/1.5.4i cc: ports@freebsd.org Subject: Re: Rotting PRs reminder X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2003 10:28:36 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greg Lewis, 06.11.03, 21:05h CET: > > > Why is mktexlsr not just run during post-install instead of printing > > > a message saying one should do so? > >=20 > > You're right, I changed that, too. It still has to be done manually when > > installing via pkg_add, though, so I kept the message. >=20 > Why not create a pkg-install script to do it? That will be run during > pkg_add. Something simple like this should do it: >=20 > #!/bin/sh >=20 > if [ "$2" =3D "POST-INSTALL" ]; then > ${LOCALBASE}/bin/mktexlsr > fi Well, the above doesn't work with pkg_add, either, because $LOCALBASE isn't defined (or am I missing something there?). The script I added falls back to /usr/local in that case; if mktexlsr is not found in $LOCALBASE/bin, then, it still prints out the message saying you should do it manually. I'd rather not just execute mktexlsr and hope there's something in the path with that name. > Great. I think they are almost ready to commit :). Let me know if you're > going to make the pkg-install change and I will commit the ports when you > are done. The patches are attached to the PRs. Thanks in advance...;) Stefan --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iQGVAwUBP6tzylaRERsSueCzAQIorAv+PRq0rKU0Z7lOuCecLmFGRmkKM7WIQT9C 8bSQ/j+G8YHMtF/TAS6mWTPgzLLA6tq8gUgfdq+Us/gCxbewOR4eM1wUQaOZ73PR gCgp/7BNlC7uGia0Hzssthg7IW9wNagQYI/U4mg92yoPm1RJ2eSVtoKG6eOSI9LQ XPmndpWuJ1IHDcxkUKxHSmZEJYnzznxWUe0hQ6wg5nmrdERgdH9uJUv5drlYhJNK N3vhxDIYxaJujS2hpWVUsA0Cdolpfi+IvmYKVO+a1LM/t6NumfWgQaO9BvaIidwr b+hgto9cz8VywhbhzpjRujpVLYoeCaF6rxXqekeU2g9Y8jDvccOojJLYuZBV9CLY 0l2ALAB630h01tDpnY+AM3U8+Zc/jgSIEexRT0fzcFgSYG4pIDTn3bq3gWrM/e0X P01TtogFKNTaDCbeRkL4PE+BU3ORxeceL2zyWb1qVmc/gn6F9D1RIw1EWQb9vDAP Scm3KCZYu2mbwsSO3VfshCamCCSDvDBi =j4xB -----END PGP SIGNATURE----- --DocE+STaALJfprDB--