aboutsummaryrefslogblamecommitdiff
path: root/archivers/py-pyliblzma/Makefile
blob: d4102e20279bd644fa07b27f82e6f078fa5fbc09 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     

           
                         
                     
                 
                                
                          
                                       
 
                               

                                                               
                     
                                 
 
                                               
                                   
 
             
                                                                  
 


                                                                
                      
# Created by: David Naylor <naylor.b.david@gmail.com>
# $FreeBSD$

PORTNAME=	pyliblzma
PORTVERSION=	0.5.3
PORTREVISION=	6
CATEGORIES=	archivers python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	dbn@FreeBSD.org
COMMENT=	Python binding for the LZMA compression library

LICENSE=	LGPL3
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		pkgconfig python:-2.7 tar:bzip2
USE_PYTHON=	autoplist distutils

post-install:
	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lzma.so

do-test:
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

.include <bsd.port.mk>