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
F92443144: D7583.diff
Sat, Aug 31, 11:08 AM
Unknown Object (File)
Thu, Aug 29, 7:02 AM
Unknown Object (File)
Thu, Aug 29, 1:17 AM
Unknown Object (File)
Mon, Aug 19, 6:22 AM
Unknown Object (File)
Sun, Aug 18, 3:08 AM
Unknown Object (File)
Thu, Aug 15, 9:39 PM
Unknown Object (File)
Mon, Aug 12, 9:42 PM
Unknown Object (File)
Wed, Aug 7, 6:22 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 4880
Build 4943: 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.