aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-pylib/Makefile
blob: 2533489e5894d1e3236437609eb3d68b2c7b6a60 (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
41
42
# New ports collection makefile for:    py-pylib
# Date created:     2008-09-16
# Whom:         Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   pylib
PORTVERSION=    0.9.2
CATEGORIES= devel python
MASTER_SITES=   ${MASTER_SITE_CHEESESHOP}
MASTER_SITE_SUBDIR= source/p/py
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   py-${PORTVERSION}

MAINTAINER= yzlin@cs.nctu.edu.tw
COMMENT=    An agile development and test support library

USE_PYTHON= 2.4+
USE_PYDISTUTILS=    easy_install
PYDISTUTILS_PKGNAME=    py
PYEASYINSTALL_ARCHDEP=  yes

WRKSRC=     ${WRKDIR}/${DISTNAME}

DOCSDIR=    ${PREFIX}/share/doc/py-${PORTNAME}

PORTDOCS=   CHANGELOG LICENSE README.txt

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
IGNORE=     has not yet been ported to sparc64
.endif

.include <bsd.port.post.mk>