aboutsummaryrefslogblamecommitdiff
path: root/math/py-rectangle-packer/Makefile
blob: bcd83d504b5cc7e6038b0d4cf6709f6ec22c172e (plain) (tree)
1
2
3
4
5
6
7
8






                                         
                                                           



                                    
                      













                                                                                    
PORTNAME=	rectangle-packer
DISTVERSION=	2.0.1
CATEGORIES=	math python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Rectangle packing library
WWW=		https://github.com/Penlect/rectangle-packer

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.md

USES=		python
USE_PYTHON=	distutils cython autoplist unittest

USE_GITHUB=	yes
GH_ACCOUNT=	Penlect

TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC=	${WRKSRC}/test

post-install:
	@${STRIP_CMD} \
		${STAGEDIR}${PYTHON_SITELIBDIR}/rpack/_core${PYTHON_EXT_SUFFIX}.so \
		${STAGEDIR}${PYTHON_SITELIBDIR}/rpack/_rpack${PYTHON_EXT_SUFFIX}.so

.include <bsd.port.mk>