aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/py-lzma/Makefile
blob: 72488c31b8d283d7b8d74b95043e08b253ecf5a7 (plain) (blame)
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
# Created by: Hye-Shik Chang
# $FreeBSD$

PORTNAME=   lzma
PORTVERSION=    0.4.4
PORTREVISION=   1
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

USES=       dos2unix python
USE_PYTHON= distutils autoplist

DOCSDIR=    ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}

PORTDOCS=   usage.txt

OPTIONS_DEFINE= DOCS

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>