source-less packaging?
Joshua Root
jmr at macports.org
Thu Feb 12 18:07:51 PST 2015
On 2015-2-13 12:16 , Jack Howarth wrote:
> Is it possible to suppress the need for a source file a Portfile?
> The fink packaging uses...
>
> http://patch-tracker.debian.org/patch/debianonly/dl/xorg-server/2:%v-10.lenny4/debian-dir%%20only%%20changes
>
> as the Source file. Unfortunately the debian patch tracker server has
> been down for years and fink has just been using copies cached on
> their mirrors.
> Since I have a copy of this file from their mirrors, I was hoping
> that I could craft a Portfile with no source but only a set of patches
> in the files directory. Is this possible? If not, what is the
> recommended solution when the original source url is dead upstream?
> Jack
You can clear distfiles. I'm not sure exactly what you're trying to do,
but it's fine to fetch from the fink mirrors. If they're literally just
patches that apply to an empty dir, you could set patch_sites and
patchfiles. No need to store them in the ports tree.
- Josh
More information about the macports-dev
mailing list