freebsd-ports/devel/py-traits/Makefile
Olivier Duchateau a53d942bd5 - Update to 4.5.0
- Switch MASTER_SITES to CHEESESHOP macro
- Remove DOCS and EXAMPLES
- Adjust dependencies

PR:		196977
Submitted by:	myself
Approved by:	wen@ (maintainer)
2015-01-23 10:20:17 +00:00

28 lines
599 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= traits
PORTVERSION= 4.5.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wen@FreeBSD.org
COMMENT= Explicitly Typed Attributes for Python
LICENSE= BSD3CLAUSE PSFL
LICENSE_COMB= multi
BUILD_DEPENDS= ${PYNUMPY}
USES= python
USE_PYTHON= distutils autoplist
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-extract:
# Remove traits/testing directory files are not compatible with Python 3
cd ${WRKSRC} && ${RM} -Rf traits/testing/
.include <bsd.port.mk>