summaryrefslogtreecommitdiff
path: root/graphics/uniconvertor/Makefile
blob: c49c2d590a7bd57d4fffc9f8fb7e66fe09f49d9a (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
# $NetBSD: Makefile,v 1.1.1.1 2009/12/11 21:42:12 drochner Exp $
#

DISTNAME=	uniconvertor-1.1.4
CATEGORIES=	graphics
MASTER_SITES=	http://sk1project.org/downloads/uniconvertor/v1.1.4/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://sk1project.org/
COMMENT=	Universal vector graphics translator
#LICENSE=	# TODO: (see mk/license.mk)

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=	${WRKDIR}/UniConvertor-1.1.4
PYDISTUTILSPKG=	yes

SUBST_CLASSES+=		pybin
SUBST_STAGE.pybin=	post-build
SUBST_FILES.pybin=	src/uniconvertor
SUBST_VARS.pybin=	PYTHONBIN

# it is renamed because tgif expects it that way, and to avoid
# a conflict with netatalk
post-extract:
	${MV} ${WRKSRC}/src/uniconv ${WRKSRC}/src/uniconvertor

.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../graphics/py-imaging/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"