summaryrefslogtreecommitdiff
path: root/devel/tig/Makefile
blob: 116da3a868467addd14c32707ac304b9b4e5401a (plain)
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
# Created by: Denise H. G. <darcsis@gmail.com>
# $FreeBSD$

PORTNAME=	tig
PORTVERSION=	2.1.1
CATEGORIES=	devel
MASTER_SITES=	http://jonas.nitro.dk/tig/releases/

MAINTAINER=	darcsis@gmail.com
COMMENT=	Text-mode interface for git

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

RUN_DEPENDS=	git:devel/git

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	${ICONV_CONFIGURE_BASE}
USES=		iconv gmake ncurses readline:port

ALL_TARGET=	all strip
INSTALL_TARGET=	install

PLIST_FILES=	bin/tig etc/tigrc

OPTIONS_DEFINE=	MANPAGES
OPTIONS_DEFAULT=MANPAGES

MANPAGES_BUILD_DEPENDS=	asciidoc:textproc/asciidoc \
			xmlto:textproc/xmlto
MANPAGES_ALL_TARGET=	doc-man
MANPAGES_INSTALL_TARGET=	install-doc-man
MANPAGES_PLIST_FILES=	man/man1/tig.1.gz \
			man/man5/tigrc.5.gz \
			man/man7/tigmanual.7.gz

.include <bsd.port.mk>