blob: 0c6f295010b56073321460284ac1367e24a15f7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# 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
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>
|