59534038c8
With hat: python
27 lines
599 B
Makefile
27 lines
599 B
Makefile
# Created by: Muhammad Moinur Rahman <5u623l20@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= enum34
|
|
PORTVERSION= 1.1.6
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USES?= python:-3.3
|
|
USE_PYTHON= distutils autoplist
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTDOCS= *
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
NO_ARCH= yes
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/enum/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|