2012-09-28 22:11:10 +02:00
|
|
|
# Created by: ijliao
|
2002-01-11 14:21:41 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= smb
|
2013-12-22 20:36:00 +01:00
|
|
|
PORTVERSION= 1.1.8
|
2002-01-11 14:21:41 +01:00
|
|
|
CATEGORIES= net python
|
2011-12-25 14:01:31 +01:00
|
|
|
MASTER_SITES= http://miketeo.net/files/Projects/py${PORTNAME}/ \
|
|
|
|
CHEESESHOP
|
2002-01-11 14:21:41 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= pysmb-${PORTVERSION}
|
|
|
|
|
2011-11-10 23:20:18 +01:00
|
|
|
MAINTAINER= rm@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= SMB/CIFS library written in Python
|
2002-01-11 14:21:41 +01:00
|
|
|
|
2011-12-25 14:01:31 +01:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1>=0:${PORTSDIR}/devel/py-asn1
|
|
|
|
|
2013-12-22 20:36:00 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2011-12-25 14:01:31 +01:00
|
|
|
|
2013-12-22 20:36:00 +01:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}smb
|
|
|
|
PORTDOCS= *
|
2002-01-11 14:21:41 +01:00
|
|
|
|
2013-03-19 07:57:03 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2011-12-25 14:01:31 +01:00
|
|
|
post-install:
|
2013-12-22 20:36:00 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
(cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} _modules/ ${STAGEDIR}${DOCSDIR}/)
|
|
|
|
(cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} _static/ ${STAGEDIR}${DOCSDIR}/)
|
|
|
|
(cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} api/ ${STAGEDIR}${DOCSDIR}/)
|
|
|
|
(cd ${WRKSRC}/docs/html/ && ${CP} *.html ${STAGEDIR}${DOCSDIR}/)
|
|
|
|
(cd ${WRKSRC}/docs/html/ && ${CP} *.js ${STAGEDIR}${DOCSDIR}/)
|
2002-01-11 14:21:41 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|