freebsd-ports/www/gist/Makefile
Steve Wills 92fd3cf244 - Add converters/ruby-iconv dependency for RUBY_VER < 1.9
PR:		ports/171705
Submitted by:	Lung-Pin Chang <changlp@cs.nctu.edu.tw> (maintainer)
2013-06-23 03:35:42 +00:00

39 lines
708 B
Makefile

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