openbsd-ports/devel/tig/Makefile

33 lines
829 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.1.1.1 2008/10/24 22:49:21 bernd Exp $
COMMENT = ncurses GIT repository browser
DISTNAME = tig-0.12.1
CATEGORIES = devel
HOMEPAGE = http://jonas.nitro.dk/tig/
MAINTAINER = Tobias Ulmer <tobiasu@tmux.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c ncurses
MODULES = converters/libiconv
RUN_DEPENDS = ::devel/git
MASTER_SITES = ${HOMEPAGE}/releases/
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --with-libiconv=${LOCALBASE}
NO_REGRESS = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tig
${INSTALL_DATA} ${WRKBUILD}/manual.* ${PREFIX}/share/doc/tig
${INSTALL_MAN} ${WRKBUILD}/tig.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKBUILD}/tigrc.5 ${PREFIX}/man/man5
.include <bsd.port.mk>