Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 21:27:08 +0800 (CST)
From:      Lung-Pin Chang <changlp@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/170783: [MAINTAINER] www/gist: switch to GH_* macros
Message-ID:  <20120820132708.D026F9B4B6@Archon.iamben.csie.net>
Resent-Message-ID: <201208201340.q7KDe9bB094678@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170783
>Category:       ports
>Synopsis:       [MAINTAINER] www/gist: switch to GH_* macros
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 20 13:40:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Lung-Pin Chang
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD Archon.iamben.csie.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
- Switch to GH_* macros

- Add manpage

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- gist-3.1.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/gist/Makefile /home/iamben/tmp/ports/www/gist/Makefile
--- /usr/ports/www/gist/Makefile	2012-04-05 14:50:08.000000000 +0800
+++ /home/iamben/tmp/ports/www/gist/Makefile	2012-08-20 21:20:53.382872966 +0800
@@ -9,24 +9,25 @@
 PORTVERSION=	3.1.0
 PORTREVISION=	1
 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 -ruN --exclude=CVS /usr/ports/www/gist/distinfo /home/iamben/tmp/ports/www/gist/distinfo
--- /usr/ports/www/gist/distinfo	2012-04-05 14:50:08.000000000 +0800
+++ /home/iamben/tmp/ports/www/gist/distinfo	2012-08-20 20:42:28.090874963 +0800
@@ -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
--- gist-3.1.0_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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