summaryrefslogtreecommitdiff
path: root/graphics/uniconvertor/Makefile
blob: f280b0870f686c2c2241e0dc3842bf0cc4dfec28 (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
32
# $NetBSD: Makefile,v 1.2 2010/01/18 09:59:09 wiz Exp $
#

DISTNAME=	uniconvertor-1.1.4
PKGREVISION=	1
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"