aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorscheidell <scheidell@FreeBSD.org>2012-04-05 14:50:08 +0800
committerscheidell <scheidell@FreeBSD.org>2012-04-05 14:50:08 +0800
commit6b6d7f11c7acde3821fdd3584b13c6416b6448f4 (patch)
treedfa03cc9a1d04a9615b21f860771364e84f4a47a /www
parent707f42a5cf9583aa642a4bfc269707068b976f9f (diff)
downloadfreebsd-ports-gnome-6b6d7f11c7acde3821fdd3584b13c6416b6448f4.tar.gz
freebsd-ports-gnome-6b6d7f11c7acde3821fdd3584b13c6416b6448f4.tar.zst
freebsd-ports-gnome-6b6d7f11c7acde3821fdd3584b13c6416b6448f4.zip
- Fix incorrect distinfo
- Bump PORTREVISION because size of distfile changed radically PR: ports/166655 Submitted by: Lung-Pin Chang <changlp@cs.nctu.edu.tw> (maintainer) Approved by: Lung-Pin Chang <changlp@cs.nctu.edu.tw> (maintainer) Feature safe: yes
Diffstat (limited to 'www')
-rw-r--r--www/gist/Makefile14
-rw-r--r--www/gist/distinfo4
2 files changed, 11 insertions, 7 deletions
diff --git a/www/gist/Makefile b/www/gist/Makefile
index 3dd037fcbff5..9240b3549752 100644
--- a/www/gist/Makefile
+++ b/www/gist/Makefile
@@ -7,22 +7,26 @@
PORTNAME= gist
PORTVERSION= 3.1.0
+PORTREVISION= 1
CATEGORIES= www net
-MASTER_SITES= https://github.com/defunkt/${PORTNAME}/raw/v${PORTVERSION}/
-DISTNAME= gist
-EXTRACT_SUFX=
-EXTRACT_ONLY=
+MASTER_SITES= https://github.com/${GITAUTHOR}/${PORTNAME}/tarball/v${PORTVERSION}/
+DISTNAME= ${GITAUTHOR}-${PORTNAME}-v${PORTVERSION}-0-g${GITCOMMIT}
MAINTAINER= changlp@cs.nctu.edu.tw
COMMENT= A gist pastebin posting command
CONFLICTS= p5-App-gist-[0-9]*
+GITCOMMIT= 82ffb80
+GITAUTHOR= defunkt
+
USE_RUBY= YES
NO_BUILD= YES
+FETCH_ARGS= -r
+WRKSRC= ${WRKDIR}/${GITAUTHOR}-${PORTNAME}-${GITCOMMIT}
PLIST_FILES= bin/gist
do-install:
- ${INSTALL_SCRIPT} ${DISTDIR}/gist ${PREFIX}/bin/gist
+ ${INSTALL_SCRIPT} ${WRKSRC}/gist ${PREFIX}/bin/gist
.include <bsd.port.mk>
diff --git a/www/gist/distinfo b/www/gist/distinfo
index 16aebc2ffadf..3d632fb022ff 100644
--- a/www/gist/distinfo
+++ b/www/gist/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gist) = 5089b3b300d16a83b54c7ddf5dfc3561cadda35dae4a002bc66d888526ef9033
-SIZE (gist) = 17761
+SHA256 (defunkt-gist-v3.1.0-0-g82ffb80.tar.gz) = d26149363ad7529fe408ce810401ef6bbfbb2c4dc4bff9adbc80862c04cbaa47
+SIZE (defunkt-gist-v3.1.0-0-g82ffb80.tar.gz) = 699830