aboutsummaryrefslogtreecommitdiffstats
path: root/cad/pythoncad/Makefile
blob: b0d08436078a9d8b82a74d948598a547907e2bfa (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
# ex:ts=8
# Ports collection makefile for:    pythoncad
# Date created:         Nov 11, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   pythoncad
PORTVERSION=    16
PORTREVISION=   1
CATEGORIES= cad
MASTER_SITES=   http://www.pythoncad.org/releases/
DISTNAME=   PythonCAD-DS1-R${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    An open-source CAD package built designed around Python

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/pygtk.pth:${PORTSDIR}/x11-toolkits/py-gtk2

USE_PYTHON= 2.2+
USE_PYDISTUTILS=    yes
USE_BZIP2=  yes

post-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/gtkpycad.py ${PREFIX}/bin

.include <bsd.port.mk>