summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-04-05 06:50:08 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-04-05 06:50:08 +0000
commitb6e09b7bf4e9f23cff356a48d89b1f07263a3f33 (patch)
treee7d791239fac8828b5a0de460693779bf046f7e8
parent2e24d295dca17f63c8ca27fa6ffbf481e03d24e2 (diff)
downloadfreebsd-ports-b6e09b7bf4e9f23cff356a48d89b1f07263a3f33.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
-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