1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/graphics/pygts/Makefile
Ruslan Makhmatkhanov 061298191f graphics/pygts: convert to autoplist
- convert to autoplist
- limit python version to 2.x

===>  Configuring for pygts-0.3.1_5
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 60
    raise RuntimeError, result[0]
                      ^
SyntaxError: invalid syntax
*** Error code 1
2016-09-23 20:21:37 +00:00

27 lines
553 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= pygts
PORTVERSION= 0.3.1
PORTREVISION= 5
CATEGORIES= graphics python
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Python binding for GNU Triangulated Surface(GTS) Library
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libgts.so:graphics/gts
USE_PYTHON= autoplist distutils
USES= pkgconfig python:2.7
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gts/_gts.so
.include <bsd.port.mk>