38 lines
826 B
Makefile
38 lines
826 B
Makefile
# Created by: 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
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
NO_STAGE= yes
|
|
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
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|