summaryrefslogtreecommitdiff
path: root/www/gist/Makefile
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 /www/gist/Makefile
parent- Resolve conflict with nagios (diff)
- 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
Notes
Notes: svn path=/head/; revision=294229
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>