Page MenuHomeFreeBSD

Add GH_SUBDIR, automatically moves a secondary distfile to the right place inside ${WRKSRC}.
ClosedPublic

Authored by mat on Aug 19 2016, 4:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 22, 2:41 PM
Unknown Object (File)
Fri, Mar 22, 2:41 PM
Unknown Object (File)
Fri, Mar 22, 2:41 PM
Unknown Object (File)
Fri, Mar 22, 2:41 PM
Unknown Object (File)
Fri, Mar 22, 11:59 AM
Unknown Object (File)
Fri, Mar 22, 10:27 AM
Unknown Object (File)
Fri, Mar 8, 8:01 PM
Unknown Object (File)
Jan 16 2024, 9:36 PM
Subscribers

Details

Summary

Before:

GH_TUPLE=	Regaddi:Chart.js:f13f99b:chart_js \
		FVANCOP:ChartNew.js:77e7f87:chartnew_js
post-extract:
	@${RMDIR} ${WRKSRC}/database ${WRKSRC}/3rd/Chart.js
	@${MV} ${WRKSRC_database} ${WRKSRC}/database
	@${MV} ${WRKSRC_chart_js} ${WRKSRC}/3rd/Chart.js

After:

GH_TUPLE=	Regaddi:Chart.js:f13f99b:chart_js/3rd/Chart.js \
		FVANCOP:ChartNew.js:77e7f87:chartnew_js/3rd/ChartNew.js

It also works if not using GH_TUPLE but the regular GH_ACCOUNT/PROJECT/TAGNAME variables:

GH_SUBDIR=	3rd/Chart.js:chart_js 3rd/ChartNew.js:chartnew_js

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mat retitled this revision from to Add GH_SUBDIR, automatically moves a secondary distfile to the right place inside ${WRKSRC}..
mat updated this object.
mat edited the test plan for this revision. (Show Details)
mat edited edge metadata.
  • Try to make sure where we move things to exists.
  • Provide a way to have the :DEFAULT GH_SUBDIR work.
mat edited edge metadata.
  • Provide a way to have the :DEFAULT GH_SUBDIR work.
mat edited edge metadata.
  • Convert other ports.
  • Remove the / in front of the GH_SUBDIR entries, it was ugly.
  • A couple more ports.
mat edited edge metadata.
This revision was automatically updated to reflect the committed changes.