# $OpenBSD: Makefile,v 1.9 2011/09/16 09:24:49 espie Exp $

COMMENT =	python powered git gui

MODPY_EGG_VERSION=	1.4.3.1
DISTNAME =	cola-${MODPY_EGG_VERSION}
PKGNAME =	git-${DISTNAME:S/-src//}
CATEGORIES = 	devel x11
REVISION =	1

WRKDIST =	${WRKDIR}/${DISTNAME:S/-src//}

HOMEPAGE =	http://cola.tuxfamily.org/

# GPLv2 only
PERMIT_PACKAGE_CDROM=	Yes
PERMIT_PACKAGE_FTP=	Yes
PERMIT_DISTFILES_CDROM=	Yes
PERMIT_DISTFILES_FTP=	Yes

MASTER_SITES =  ${HOMEPAGE}/releases/

MODULES =	devel/gettext \
		lang/python

BUILD_DEPENDS =	${RUN_DEPENDS}
RUN_DEPENDS =	devel/desktop-file-utils \
		devel/git \
		textproc/xxdiff \
		x11/py-qt4

MODPY_ADJ_FILES=	bin/git-cola

pre-configure:
	${SUBST_CMD} ${WRKSRC}/cola/cmds.py

.include <bsd.port.mk>
