Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 1995 11:03:04 -0700
From:      Satoshi Asami <asami>
To:        CVS-commiters, cvs-share
Subject:   cvs commit: src/share/mk bsd.port.mk
Message-ID:  <199504201803.LAA03926@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504201803.LAA03926>