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
F106403475: D7583.diff
Mon, Dec 30, 3:56 AM
Unknown Object (File)
Sat, Dec 21, 4:10 PM
Unknown Object (File)
Sat, Dec 21, 2:26 AM
Unknown Object (File)
Sat, Dec 21, 1:50 AM
Unknown Object (File)
Tue, Dec 17, 1:43 PM
Unknown Object (File)
Sat, Dec 14, 7:47 PM
Unknown Object (File)
Sat, Dec 7, 7:34 PM
Unknown Object (File)
Nov 25 2024, 9:04 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.