From owner-freebsd-commit Thu Apr 20 11:03:13 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA03955 for commit-outgoing; Thu, 20 Apr 1995 11:03:13 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA03940 for cvs-share-outgoing; Thu, 20 Apr 1995 11:03:11 -0700 Received: (from asami@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA03926 ; Thu, 20 Apr 1995 11:03:04 -0700 Date: Thu, 20 Apr 1995 11:03:04 -0700 From: Satoshi Asami Message-Id: <199504201803.LAA03926@freefall.cdrom.com> To: CVS-commiters, cvs-share Subject: cvs commit: src/share/mk bsd.port.mk Sender: commit-owner@FreeBSD.org Precedence: bulk asami 95/04/20 11:03:04 Modified: share/mk bsd.port.mk Log: Major overhaul. The major targets (fetch, extract, patch, configure, build, install) are now all skeletons and do nothing but (1) Call pre-* target (if exists) (2) Call scripts/pre-* script (if exists) (3) Call do-* target (4) Call post-* target (if exists) (5) Call scripts/post-* script (if exists) The do-* targets do all the work. The pre-* and post-* targets/scripts don't exist by default. The main targets check for the cookies too, so porters shouldn't have to worry about them at all. NOTE: THE MAIN TARGETS IN THE PORTS MAKEFILES SHOULD GO AWAY. We need to fix this before wcarchive comes back up. Change the names to do-*, rip out the cookies, rip out the calls to pre-* etc. and most of them should work. Also, reorganize the whole thing so that similar targets are together and add more comments. Surround section header with 64 #'s (C-u C-u C-u # in emacs :). Hopefully this will be the last major change to bsd.port.mk. Now let the Makefile-hacking begin.