1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

- 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)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-08-22 02:38:17 +00:00
parent 88e44b3b39
commit d3c2884fde
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302919
2 changed files with 10 additions and 9 deletions

View File

@ -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>

View File

@ -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