From owner-freebsd-ports@FreeBSD.ORG Mon Jul 18 18:39:09 2005 Return-Path: X-Original-To: ports@freebsd.org 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 267AD16A41C for ; Mon, 18 Jul 2005 18:39:09 +0000 (GMT) (envelope-from jtrigg@spamcop.net) Received: from argent.heraldsnet.org (argent.heraldsnet.org [64.83.41.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2BF743D45 for ; Mon, 18 Jul 2005 18:39:08 +0000 (GMT) (envelope-from jtrigg@spamcop.net) Received: from mail.scadian.net (localhost.scadian.net [127.0.0.1]) by argent.heraldsnet.org (Postfix) with ESMTP id 9233C152 for ; Mon, 18 Jul 2005 14:39:07 -0400 (EDT) Received: from 128.221.197.136 (SquirrelMail authenticated user blaise) by mail.scadian.net with HTTP; Mon, 18 Jul 2005 14:39:07 -0400 (EDT) Message-ID: <37948.128.221.197.136.1121711947.squirrel@mail.scadian.net> Date: Mon, 18 Jul 2005 14:39:07 -0400 (EDT) From: "Jim Trigg" To: ports@freebsd.org User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Subject: Global port configuration question X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 18:39:09 -0000 Is there a way to implement the equivalent of portupgrade's BEFOREBUILD, BEFOREDEINSTALL, and AFTERINSTALL commands at a global level (i.e. on the order of /etc/make.conf rather than something specific to either portupgrade or portmanager)? For two examples, I'd like to automatically have perl-after-upgrade run when I upgrade perl, and to automatically have postfix stopped before deinstall and restarted after install, whether I'm doing an upgrade manually, through portupgrade (when I just want to upgrade one or two ports rather than everything), or through portmanager. Thanks, Jim -- Jim Trigg, Lord High Everything Else O- /"\ Hostmaster, Huie Kin family website \ / ASCII RIBBON CAMPAIGN Verger and System Administrator, X HELP CURE HTML MAIL All Saints Church - Sharon Chapel / \