aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pysvg/Makefile
blob: e6d4b3d9d0348066ba7d952e74ad30fbb971c227 (plain) (blame)
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
# New ports collection makefile for:    pysvg
# Date created:             2009-08-26
# Whom:                 Olivier Duchateau <duchateau.olivier@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   pysvg
PORTVERSION=    0.2.0
CATEGORIES= graphics python
MASTER_SITES=   http://www.codeboje.de/downloads/
DISTNAME=   ${PORTNAME:S|svg|SVG|}

MAINTAINER= duchateau.olivier@gmail.com
COMMENT=    pySVG - creating svg with python

NO_WRKSUBDIR=   yes

USE_PYTHON= yes
USE_ZIP=    yes
PYDISTUTILS_BUILDARGS+= --prefix=${PREFIX}

do-build:
    @cd ${WRKSRC}/src && \
        ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build

do-install:
    @cd ${WRKSRC}/src && \
        ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} \
            install ${PYDISTUTILS_BUILDARGS}

.include <bsd.port.mk>