aboutsummaryrefslogtreecommitdiff
path: root/converters/cocot
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2016-11-27 08:24:15 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2016-11-27 08:24:15 +0000
commit554f8987e8d9867f8e204844fe9ee0941a6cd88c (patch)
tree592b82cbde3fb2e998afd65420ea7b8099593e7f /converters/cocot
parenta2a8e2e1a6b68f25a0fff62d64e35ea332426607 (diff)
downloadports-554f8987e8d9867f8e204844fe9ee0941a6cd88c.tar.gz
ports-554f8987e8d9867f8e204844fe9ee0941a6cd88c.zip
Fetch a distfile directly from GitHub
Notes
Notes: svn path=/head/; revision=427191
Diffstat (limited to 'converters/cocot')
-rw-r--r--converters/cocot/Makefile10
-rw-r--r--converters/cocot/distinfo5
2 files changed, 8 insertions, 7 deletions
diff --git a/converters/cocot/Makefile b/converters/cocot/Makefile
index aebfc79032e5..531239e123bc 100644
--- a/converters/cocot/Makefile
+++ b/converters/cocot/Makefile
@@ -3,10 +3,8 @@
PORTNAME= cocot
PORTVERSION= 20120313
+DISTVERSIONPREFIX= ${PORTNAME}-1.1-
CATEGORIES= converters
-MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
- LOCAL/knu
-DISTNAME= ${PORTNAME}-1.1-${PORTVERSION}
MAINTAINER= knu@FreeBSD.org
COMMENT= Code Converter on TTY
@@ -15,8 +13,10 @@ LICENSE= BSD3CLAUSE
OPTIONS_DEFINE= DOCS
-USES= iconv zip
-WRKSRC= ${WRKDIR}/vmi-${PORTNAME}-8bc9f64
+USE_GITHUB= yes
+GH_ACCOUNT= vmi
+
+USES= iconv
GNU_CONFIGURE= yes
CPPFLAGS+= -I${ICONV_PREFIX}/include
diff --git a/converters/cocot/distinfo b/converters/cocot/distinfo
index dc5065723b36..0a37f28bc42f 100644
--- a/converters/cocot/distinfo
+++ b/converters/cocot/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cocot-1.1-20120313.zip) = 3ac93b60c3257f9dbab7e3ee25695d8101cf7fb96628b6caefd348cf8c85e77a
-SIZE (cocot-1.1-20120313.zip) = 222658
+TIMESTAMP = 1480234398
+SHA256 (vmi-cocot-cocot-1.1-20120313_GH0.tar.gz) = bc67576b04a753c49ec563c30fb0cc383e9ce7a3db9295a384b7f77fcc1a57b8
+SIZE (vmi-cocot-cocot-1.1-20120313_GH0.tar.gz) = 214205