2004-05-28 16:33:03 +02:00
|
|
|
# New ports collection makefile for: py-lzma
|
|
|
|
# Date created: 28 May 2004
|
|
|
|
# Whom: Hye-Shik Chang
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= lzma
|
2011-01-29 04:51:06 +01:00
|
|
|
PORTVERSION= 0.4.3
|
2004-05-28 16:33:03 +02:00
|
|
|
CATEGORIES= archivers python
|
2010-11-11 16:36:14 +01:00
|
|
|
MASTER_SITES= CHEESESHOP
|
2004-05-28 16:33:03 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2010-11-11 16:36:14 +01:00
|
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
2004-05-28 16:33:03 +02:00
|
|
|
|
2010-11-11 16:36:14 +01:00
|
|
|
MAINTAINER= sbrabez@gmail.com
|
2004-05-28 16:33:03 +02:00
|
|
|
COMMENT= Python binding for the LZMA compression library
|
|
|
|
|
2011-01-29 04:51:06 +01:00
|
|
|
LICENSE= LGPL21
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
|
|
|
USE_DOS2UNIX= yes
|
2004-05-28 16:33:03 +02:00
|
|
|
USE_PYTHON= yes
|
2010-11-11 16:36:14 +01:00
|
|
|
USE_PYDISTUTILS= easy_install
|
|
|
|
PYDISTUTILS_PKGNAME= py${PORTNAME}
|
|
|
|
PYEASYINSTALL_ARCHDEP= yes
|
|
|
|
PYEASYINSTALL_EGG= ${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}${PYEASYINSTALL_OSARCH}.egg
|
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
|
|
|
|
PORTDOCS= usage.txt
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
|
|
|
|
.endif
|
2004-06-09 08:34:23 +02:00
|
|
|
|
2004-05-28 16:33:03 +02:00
|
|
|
.include <bsd.port.mk>
|