diff options
author | eik <eik@FreeBSD.org> | 2004-07-07 14:51:17 +0000 |
---|---|---|
committer | eik <eik@FreeBSD.org> | 2004-07-07 14:51:17 +0000 |
commit | 72c46a0db59a7b9155d99c72dcd1ab26bb640157 (patch) | |
tree | 2c29234c4388ccdb15840e8820467a7b29ec9010 /devel/portmk/Mk | |
parent | e776e42494a5814a191dc58ebbd737bf7fb59d20 (diff) | |
download | FreeBSD-ports-72c46a0db59a7b9155d99c72dcd1ab26bb640157.zip FreeBSD-ports-72c46a0db59a7b9155d99c72dcd1ab26bb640157.tar.gz |
add targets master-sites-all, master-sites, patch-sites-all, patch-sites
which print a sorted list of the respective sites (used e.g. by FreshPorts)
Diffstat (limited to 'devel/portmk/Mk')
-rw-r--r-- | devel/portmk/Mk/bsd.port.post.mk | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/devel/portmk/Mk/bsd.port.post.mk b/devel/portmk/Mk/bsd.port.post.mk index c36f5f3..17b8a6d 100644 --- a/devel/portmk/Mk/bsd.port.post.mk +++ b/devel/portmk/Mk/bsd.port.post.mk @@ -1368,6 +1368,38 @@ makesum: .endif .endif +.PHONY: master-sites-all +.if !target(master-sites-all) +master-sites-all: + @${_FETCHDISTFILES_ENV}; \ + set -- -t ''; \ + . '${DISTFILES_SH}' +.endif + +.PHONY: master-sites +.if !target(master-sites) +master-sites: + @${_FETCHDISTFILES_ENV}; \ + set -- -t 'DEFAULT'; \ + . '${DISTFILES_SH}' +.endif + +.PHONY: patch-sites-all +.if !target(patch-sites-all) +patch-sites-all: + @${_FETCHDISTFILES_ENV}; \ + set -- -T ''; \ + . '${DISTFILES_SH}' +.endif + +.PHONY: patch-sites +.if !target(patch-sites) +patch-sites: + @${_FETCHDISTFILES_ENV}; \ + set -- -T 'DEFAULT'; \ + . '${DISTFILES_SH}' +.endif + .PHONY: migratesum .if !target(migratesum) migratesum: |