fa93fdc383
The current USES=nodejs has the following issues: - www/node is not the default version while www/node16 is. - It also means inconsistent naming of node ports. - www/npm duplicates with www/npm-node16. - www/yarn duplicates with www/yarn-node16. The notable changes are introduced to fix the above issues: - Rewrite Mk/Uses/nodejs.mk. - Add new LTS version of nodejs (www/noe18). - Add new current version of nodejs (www/node19). - Change default nodejs version from 16 to 18 (latest LTS). - Use consistent naming for all supported node versions. - Convert www/node, www/npm and www/yarn to meta ports. After this commit: - All supported node versions are named as node{14,16,18,19} - www/node is a meta port which depends on the default version (e.g. www/node18) - www/npm is a meta port which depends on the default version (e.g. www/npm-node18) - www/yarn is a meta port which depends on the default version (e.g. www/yarn-node18) - Bump PORTREVISION of dependent ports for dependency change (from www/node16 to www/node18) Discussed with: jrm, otis, pizzamig
30 lines
750 B
Makefile
30 lines
750 B
Makefile
PORTNAME= csso
|
|
PORTVERSION= 1.3.9
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 3
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://nivit.altervista.org/FreeBSD/ports/distfiles/
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= CSS optimizer
|
|
WWW= https://github.com/css/csso/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE.txt
|
|
|
|
USES= nodejs:run
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= css
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/USAGE ${WRKSRC}/VERSION ${STAGEDIR}${DATADIR}/
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${DATADIR}/bin/${PORTNAME}
|
|
${LN} -sf ${DATADIR}/bin/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}
|
|
cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/lib
|
|
|
|
.include <bsd.port.mk>
|