Frotz build targets

Mark Brethen mark.brethen at gmail.com
Sun Jun 26 19:23:50 UTC 2022


The Frotz Makefile has

all: $(FROTZ_BIN) $(DFROTZ_BIN) $(SFROTZ_BIN) $(XFROTZ_BIN) 

The existing port is limited to frotz_bin only. If build.target is not specified all 4 are built. But is there an interest in building for X11 anymore? The next decision is to install them individually as variants or subports. But I wonder if it is advantageous (or even possible) to do something like this:

  def install
    targets = %w[frotz dumb sdl]
    targets.each do |target|
      system "make", target, *args
    end
    targets.each do |target|
      system "make", "install_#{target}", *args
    end
  end


Mark Brethen
mark.brethen at gmail.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20220626/f5211857/attachment.htm>


More information about the macports-dev mailing list