aboutsummaryrefslogtreecommitdiffstats
path: root/www/lessc
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-05-19 01:07:45 +0800
committermat <mat@FreeBSD.org>2015-05-19 01:07:45 +0800
commit2574893f2308874906f621f7c7435d7f8d5b2e33 (patch)
tree912fc46258efb2d48bb6aedc0d0b7102da00f29c /www/lessc
parent03e238719c2d43ed160b7409281f5f7295a8710a (diff)
downloadfreebsd-ports-gnome-2574893f2308874906f621f7c7435d7f8d5b2e33.tar.gz
freebsd-ports-gnome-2574893f2308874906f621f7c7435d7f8d5b2e33.tar.zst
freebsd-ports-gnome-2574893f2308874906f621f7c7435d7f8d5b2e33.zip
Replace most occurences of github.com in MASTER_SITES with USE_GITHUB usage.
With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'www/lessc')
-rw-r--r--www/lessc/Makefile7
-rw-r--r--www/lessc/distinfo4
2 files changed, 6 insertions, 5 deletions
diff --git a/www/lessc/Makefile b/www/lessc/Makefile
index 604dda3dee89..5a67ce7f0863 100644
--- a/www/lessc/Makefile
+++ b/www/lessc/Makefile
@@ -3,9 +3,8 @@
PORTNAME= lessc
PORTVERSION= 2.5.0
+DISTVERSIONPREFIX= v
CATEGORIES= www devel
-MASTER_SITES= http://github.com/less/less.js/archive/
-DISTNAME= v${PORTVERSION}
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Javascript CSS pre-processor
@@ -16,7 +15,9 @@ BUILD_DEPENDS= npm>=0:${PORTSDIR}/www/npm
RUN_DEPENDS= npm>=0:${PORTSDIR}/www/npm
NO_BUILD= yes
-WRKSRC= ${WRKDIR}/less.js-${PORTVERSION}
+USE_GITHUB= yes
+GH_ACCOUNT= less
+GH_PROJECT= less.js
do-install:
(cd ${STAGEDIR}${PREFIX}/lib ; ${SETENV} HOME=${WRKDIR} npm install ${WRKSRC})
diff --git a/www/lessc/distinfo b/www/lessc/distinfo
index 39bdb4095df2..43da26f9ce23 100644
--- a/www/lessc/distinfo
+++ b/www/lessc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (v2.5.0.tar.gz) = 5c100c3d8681bfe2b193c4fc8a0122b1a7baa3dcbcfb5778832d0f3051cd635f
-SIZE (v2.5.0.tar.gz) = 445127
+SHA256 (less-less.js-v2.5.0_GH0.tar.gz) = 5c100c3d8681bfe2b193c4fc8a0122b1a7baa3dcbcfb5778832d0f3051cd635f
+SIZE (less-less.js-v2.5.0_GH0.tar.gz) = 445127