35 lines
769 B
Makefile
35 lines
769 B
Makefile
# Created by: Antoine Brodin <antoine@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= olefileio_pl
|
|
PORTVERSION= 0.26
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://cdn.bitbucket.org/decalage/olefileio_pl/downloads/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= OleFileIO_PL-${PORTVERSION}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= antoine@FreeBSD.org
|
|
COMMENT= Python module to read MS OLE2 files
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= dos2unix
|
|
USE_PYTHON= -2.7
|
|
USE_PYDISTUTILS=yes
|
|
PYDISTUTILS_PKGNAME=OleFileIO_PL
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
PORTDOCS= README.txt
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|