freebsd-ports/archivers/py-lzma/Makefile
Sofian Brabez f83bf6e8a8 - Update to 0.4.4
Approved by:	jadawin@ (mentor)
2011-03-28 13:26:00 +00:00

40 lines
889 B
Makefile

# New ports collection makefile for: py-lzma
# Date created: 28 May 2004
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= lzma
PORTVERSION= 0.4.4
CATEGORIES= archivers python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= sbz@FreeBSD.org
COMMENT= Python binding for the LZMA compression library
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
ONLY_FOR_ARCHS= i386
USE_DOS2UNIX= yes
USE_PYTHON= yes
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
.include <bsd.port.mk>