36 lines
746 B
Makefile
36 lines
746 B
Makefile
# Created by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pylib
|
|
PORTVERSION= 1.4.14
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= py-${PORTVERSION}
|
|
|
|
MAINTAINER= rm@FreeBSD.org
|
|
COMMENT= Agile development and test support library
|
|
|
|
LICENSE= MIT
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
PYDISTUTILS_PKGNAME= py
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
PORTDOCS= CHANGELOG README.txt
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
.if ${PYTHON_REL} >= 320
|
|
.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|