Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2012 02:38:17 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302919 - head/www/gist
Message-ID:  <201208220238.q7M2cHOk050598@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Aug 22 02:38:17 2012
New Revision: 302919
URL: http://svn.freebsd.org/changeset/ports/302919

Log:
  - 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)

Modified:
  head/www/gist/Makefile   (contents, props changed)
  head/www/gist/distinfo   (contents, props changed)

Modified: head/www/gist/Makefile
==============================================================================
--- head/www/gist/Makefile	Wed Aug 22 02:34:54 2012	(r302918)
+++ head/www/gist/Makefile	Wed Aug 22 02:38:17 2012	(r302919)
@@ -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>

Modified: head/www/gist/distinfo
==============================================================================
--- head/www/gist/distinfo	Wed Aug 22 02:34:54 2012	(r302918)
+++ head/www/gist/distinfo	Wed Aug 22 02:38:17 2012	(r302919)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208220238.q7M2cHOk050598>