"include" files in Portfiles - not PortGroups

Ken Cunningham ken.cunningham.webuse at gmail.com
Wed Sep 13 03:23:30 UTC 2017

Not meaning to engender too big of a discussion about how good an idea it might or might not be, but Is there a method for having a Portfile that does something like the following?


# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0

platform darwin powerpc {
   source    ${filesdir}/Portfile-powerpc
} else {
   source    ${filesdir}/Portfile-intel

More information about the macports-dev mailing list