summaryrefslogtreecommitdiff
path: root/www/gist/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/gist/Makefile')
-rw-r--r--www/gist/Makefile14
1 files changed, 9 insertions, 5 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>