aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authordbn <dbn@FreeBSD.org>2018-07-01 04:27:03 +0800
committerdbn <dbn@FreeBSD.org>2018-07-01 04:27:03 +0800
commit3cc437bc4adeec08df9a641e321e70f5692e379a (patch)
treefec89260796c92727dd132949dfa9b1c2f17fabd /Mk/Uses
parentd2ad4710af131c6b750d48de9836a740530518f8 (diff)
downloadfreebsd-ports-gnome-3cc437bc4adeec08df9a641e321e70f5692e379a.tar.gz
freebsd-ports-gnome-3cc437bc4adeec08df9a641e321e70f5692e379a.tar.zst
freebsd-ports-gnome-3cc437bc4adeec08df9a641e321e70f5692e379a.zip
devel/monodevelop: update to 7.5.3.7
- remove reference assemblies as a dependency: no longer required - remove mono-addins as a dependency: shipped internally (via github) - remove cmake as a dependency: replaced by new build system based on msbuild - add multiple nuget feeds and move nuget dependencies into separate files - explicitly set full path to install(1) to fix installation script - USES=mono: read nupkg name and version from nuspec file Differential Revision: https://reviews.freebsd.org/D16070
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/mono.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/Mk/Uses/mono.mk b/Mk/Uses/mono.mk
index 47726767db1f..f7de10c1b801 100644
--- a/Mk/Uses/mono.mk
+++ b/Mk/Uses/mono.mk
@@ -207,11 +207,10 @@ makenupkg:
@[ -f ${WRKDIR}/.nupkg-${feed:tl} -o ${feed} = NUGET ] || mono ${NUGET_EXE} list -AllVersions -IncludeDelisted -PreRelease -Source ${${feed}_URL} | ${SED} 's/ /=/g' > ${WRKDIR}/.nupkg-${feed:tl}
@${RM} ${WRKDIR}/nupkg-${feed:tl}
.endfor
- @for nupkg in `${FIND} ${NUGET_PACKAGEDIR}/ -name '*.sha512' | ${SED} 's/\.sha512//g'`; \
- do \
- name="`tar -tf $${nupkg} | ${GREP} nuspec | ${SED} 's/.nuspec//g'`"; \
- version="`${BASENAME} $$(${DIRNAME} $$nupkg)`"; \
- ${ECHO} "$$name=$${version#$$name.}"; \
+ @for nuspec in `${FIND} ${_NUGET_PACKAGEDIR} -name '*.nuspec'`; do \
+ name="`${SED} -nE 's|.*<id>(.*)</id>.*|\1|p' $$nuspec`"; \
+ version="`${SED} -nE 's|.*<version>(.*)</version>.*|\1|p' $$nuspec`"; \
+ ${ECHO} $$name=$$version; \
done | ${SORT} -u > ${WRKDIR}/.nupkgs
@${CAT} ${WRKDIR}/.nupkgs | while read nupkg; do \
default=no; \