aboutsummaryrefslogtreecommitdiffstats
path: root/www/gist
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-08-22 10:38:17 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-08-22 10:38:17 +0800
commitc8dbee1f3c8939038b96ca9957c1e2b238d24325 (patch)
tree8115e25e52d3096f5f42328b19741277977a6473 /www/gist
parentd61091a4a1fa0a72fc926271f8a053958ec44f40 (diff)
downloadfreebsd-ports-gnome-c8dbee1f3c8939038b96ca9957c1e2b238d24325.tar.gz
freebsd-ports-gnome-c8dbee1f3c8939038b96ca9957c1e2b238d24325.tar.zst
freebsd-ports-gnome-c8dbee1f3c8939038b96ca9957c1e2b238d24325.zip
- Use USE_GITHUB and GH_* macros
- Add manpage - Bump PORTREVISION for package change PR: ports/170783 Submitted by: Lung-Pin Chang <changlp@cs.nctu.edu.tw> (maintainer)
Diffstat (limited to 'www/gist')
-rw-r--r--www/gist/Makefile15
-rw-r--r--www/gist/distinfo4
2 files changed, 10 insertions, 9 deletions
diff --git a/www/gist/Makefile b/www/gist/Makefile
index 9240b3549752..446c086f6b25 100644
--- a/www/gist/Makefile
+++ b/www/gist/Makefile
@@ -7,26 +7,27 @@
PORTNAME= gist
PORTVERSION= 3.1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www net
-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_GITHUB= yes
+GH_ACCOUNT= defunkt
+GH_TAGNAME= v${PORTVERSION}
+GH_COMMIT= 82ffb80
+
+MAN1= gist.1
USE_RUBY= YES
NO_BUILD= YES
-FETCH_ARGS= -r
-WRKSRC= ${WRKDIR}/${GITAUTHOR}-${PORTNAME}-${GITCOMMIT}
PLIST_FILES= bin/gist
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gist ${PREFIX}/bin/gist
+ ${INSTALL_MAN} ${WRKSRC}/man/gist.1 ${MAN1PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/www/gist/distinfo b/www/gist/distinfo
index 3d632fb022ff..d2a91261a337 100644
--- a/www/gist/distinfo
+++ b/www/gist/distinfo
@@ -1,2 +1,2 @@
-SHA256 (defunkt-gist-v3.1.0-0-g82ffb80.tar.gz) = d26149363ad7529fe408ce810401ef6bbfbb2c4dc4bff9adbc80862c04cbaa47
-SIZE (defunkt-gist-v3.1.0-0-g82ffb80.tar.gz) = 699830
+SHA256 (gist-3.1.0.tar.gz) = d26149363ad7529fe408ce810401ef6bbfbb2c4dc4bff9adbc80862c04cbaa47
+SIZE (gist-3.1.0.tar.gz) = 699830