1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/tig/Makefile
Mathieu Arnold 0181eb0172 Make the git dependency optional.
PR:		203457
Submitted by:	lightside gmx com
Approved by:	dharrigan gmail com
Sponsored by:	Absolight
2017-12-05 10:32:12 +00:00

43 lines
972 B
Makefile

# Created by: Denise H. G. <darcsis@gmail.com>
# $FreeBSD$
PORTNAME= tig
PORTVERSION= 2.3.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://github.com/jonas/tig/releases/download/${DISTNAME}/
MAINTAINER= dharrigan@gmail.com
COMMENT= Text-mode interface for git
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= iconv gmake ncurses readline:port
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE}
MAKE_ARGS= V=1
ALL_TARGET= all strip
INSTALL_TARGET= install
PLIST_FILES= bin/tig etc/tigrc
OPTIONS_DEFINE= GIT MANPAGES
OPTIONS_DEFAULT=MANPAGES
GIT_DESC= Install devel/git as runtime dependency
GIT_RUN_DEPENDS= git:devel/git
GIT_VARS_OFF= PKGMESSAGE="${.CURDIR}/pkg-message-git"
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>