Changeset View
Changeset View
Standalone View
Standalone View
head/CHANGES
Updating Information for FreeBSD ports developers | Updating Information for FreeBSD ports developers | ||||
This file is maintained by portmgr@FreeBSD.org and copyrighted by the | This file is maintained by portmgr@FreeBSD.org and copyrighted by the | ||||
FreeBSD Foundation. | FreeBSD Foundation. | ||||
This file contains major changes to ports and the ports infrastructure. | This file contains major changes to ports and the ports infrastructure. | ||||
Intended audience are ports committers, maintainers and other | Intended audience are ports committers, maintainers and other | ||||
developers. User oriented changes should be submitted for inclusion | developers. User oriented changes should be submitted for inclusion | ||||
in the release notes and/or placed into UPDATING. | in the release notes and/or placed into UPDATING. | ||||
All ports committers are allowed to commit to this file. | All ports committers are allowed to commit to this file. | ||||
20160824: | 20160824: | ||||
AUTHOR: mat@FreeBSD.org | |||||
To complete the USE_GITHUB framework, a GH_SUBDIR variable has been added. | |||||
It automatically moves a secondary distfile to the right place inside WRKSRC. | |||||
It also extends the GH_TUPLE variable to make it as easy to use as possible. | |||||
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 | |||||
20160824: | |||||
AUTHOR: kde@FreeBSD.org | AUTHOR: kde@FreeBSD.org | ||||
A new USES file has been introduced: USES=kde:4, which replaces the old | A new USES file has been introduced: USES=kde:4, which replaces the old | ||||
bsd.kde4.mk file in preparation for upcoming KDE Frameworks and Plasma5 | bsd.kde4.mk file in preparation for upcoming KDE Frameworks and Plasma5 | ||||
ports. | ports. | ||||
Ports depending on KDE4 have to switch from | Ports depending on KDE4 have to switch from | ||||
USE_KDE4=foo bar | USE_KDE4=foo bar | ||||
to | to | ||||
USES=kde:4 | USES=kde:4 | ||||
Show All 14 Lines | |||||
AUTHOR: mat@FreeBSD.org | AUTHOR: mat@FreeBSD.org | ||||
This adds the possibility to use regular expressions for the makeplist stage | This adds the possibility to use regular expressions for the makeplist stage | ||||
of the PLIST_SUB life. | of the PLIST_SUB life. | ||||
From time to time, the values are too generic, and they get in the way of | From time to time, the values are too generic, and they get in the way of | ||||
other stuff. | other stuff. | ||||
This adds the possibility to have a `VAR_regex=regex` that will be used | This adds the possibility to have a VAR_regex=regex that will be used | ||||
instead of the `VAR=string` to search for possible replacements. | instead of the VAR=string to search for possible replacements. | ||||
For example, in lang/perl5*, there is PERL_ARCH=mach, which will get replaced | For example, in lang/perl5*, there is PERL_ARCH=mach, which will get replaced | ||||
in paths if a file is called, say "machine", will end up being | in paths if a file is called, say "machine", will end up being | ||||
"%%PERL_ARCH%%ine". Adding PERL_ARCH_regex="\bmach\b" will ensure only full | "%%PERL_ARCH%%ine". Adding PERL_ARCH_regex="\bmach\b" will ensure only full | ||||
words are replaced, so machine will stay machine, but "lib/mach/foo "will | words are replaced, so machine will stay machine, but "lib/mach/foo "will | ||||
still be replaced by "lib/%%PERL_ARCH%%/foo". | still be replaced by "lib/%%PERL_ARCH%%/foo". | ||||
20160803: | 20160803: | ||||
▲ Show 20 Lines • Show All 3,162 Lines • Show Last 20 Lines |