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)
Tue, Oct 8, 8:50 AM
Unknown Object (File)
Fri, Oct 4, 2:17 PM
Unknown Object (File)
Fri, Oct 4, 4:01 AM
Unknown Object (File)
Thu, Oct 3, 9:12 AM
Unknown Object (File)
Wed, Oct 2, 9:04 PM
Unknown Object (File)
Tue, Oct 1, 2:15 PM
Unknown Object (File)
Tue, Oct 1, 6:23 AM
Unknown Object (File)
Tue, Oct 1, 3:07 AM
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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 4870
Build 4933: arc lint + arc unit

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.