summaryrefslogtreecommitdiff
path: root/graphics/xdot/Makefile
blob: baba1a61d3735393b1a1e9e883a27df7d5bd237c (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
# $NetBSD: Makefile,v 1.11 2019/04/26 13:14:02 maya Exp $

DISTNAME=	xdot
PKGNAME=	xdot-20121124
PKGREVISION=	1
CATEGORIES=	graphics
#MASTER_SITES=	http://xdot.jrfonseca.googlecode.com/git/
EXTRACT_SUFX=	.py

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/jrfonseca/xdot.py
COMMENT=	Interactive viewer for graphs written in Graphviz's dot language
LICENSE=	gnu-lgpl-v3

DEPENDS+=	${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2

WRKSRC=		${WRKDIR}
USE_LANGUAGES=	# none
DIST_SUBDIR=	${PKGNAME_NOREV}
REPLACE_PYTHON=	xdot.py
PYTHON_VERSIONS_INCOMPATIBLE=	 36 37 # py-gtk2
INSTALLATION_DIRS=	bin

do-build:

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/xdot.py ${DESTDIR}${PREFIX}/bin/xdot

.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"