aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/py-lzma/Makefile
blob: 69a38b67b1f5863e23215630e8c0235b114d1029 (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
33
34
35
36
37
38
39
40
# 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>