aboutsummaryrefslogtreecommitdiffstats
path: root/www/gist/Makefile
blob: 6ed9e2db55313fa1e76c93f736fb66114fb7aac0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:    gist
# Date created:     2009-08-16
# Whom:         Ricky E. <codeblock@eighthbit.net>
#
# $FreeBSD$
#

PORTNAME=   gist
PORTVERSION=    3.1.0
PORTREVISION=   3
CATEGORIES= www net

MAINTAINER= changlp@cs.nctu.edu.tw
COMMENT=    A gist pastebin posting command

CONFLICTS=  p5-App-gist-[0-9]*

USE_GITHUB= yes
GH_ACCOUNT= defunkt
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT=  82ffb80

MAN1=       gist.1

USE_RUBY=   YES
NO_BUILD=   YES
PLIST_FILES=    bin/gist

.include <bsd.port.pre.mk>

.if ${RUBY_VER} < 1.9
RUN_DEPENDS+=   ${DEPEND_RUBY_ICONV}
.endif

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/gist ${PREFIX}/bin/gist
    ${INSTALL_MAN} ${WRKSRC}/man/gist.1 ${MAN1PREFIX}/man/man1

.include <bsd.port.post.mk>