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)
Sat, Dec 7, 7:34 PM
Unknown Object (File)
Mon, Nov 25, 9:04 PM
Unknown Object (File)
Sun, Nov 24, 11:48 PM
Unknown Object (File)
Sun, Nov 24, 1:01 AM
Unknown Object (File)
Wed, Nov 20, 10:32 PM
Unknown Object (File)
Tue, Nov 12, 4:15 PM
Unknown Object (File)
Nov 10 2024, 2:36 AM
Unknown Object (File)
Nov 9 2024, 9:13 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.