summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-08-04 16:18:10 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-08-04 16:18:10 +0000
commit0d426d2202fa7ba1c0aa0b2dcbaf2dcfac507fad (patch)
tree6953a174796d2d87a71cd2b75b298b5cd563c9cf
parento Install required header file (diff)
upgrade to 0.4.2
Notes
Notes: svn path=/head/; revision=63980
-rw-r--r--net/py-smb/Makefile14
-rw-r--r--net/py-smb/distinfo2
2 files changed, 9 insertions, 7 deletions
diff --git a/net/py-smb/Makefile b/net/py-smb/Makefile
index c7f60f8f8280..a0e7c1925ff5 100644
--- a/net/py-smb/Makefile
+++ b/net/py-smb/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= smb
-PORTVERSION= 0.4.1
+PORTVERSION= 0.4.2
CATEGORIES= net python
MASTER_SITES= http://miketeo.net/projects/pysmb/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,6 +18,8 @@ MAINTAINER= ports@FreeBSD.org
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/pysmb
NO_BUILD= yes
+DATADIR= ${PREFIX}/share/py-smb
+DOCSDIR= ${PREFIX}/share/doc/py-smb
do-install:
.for file in nmb.py smb.py
@@ -26,12 +28,12 @@ do-install:
.for file in nmbquery smbcp smbdu smblistshare
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
- @${MKDIR} ${PREFIX}/share/py-smb
- ${CP} ${WRKSRC}/extra/*.reg ${PREFIX}/share/py-smb
+ @${MKDIR} ${DATADIR}
+ ${CP} ${WRKSRC}/extra/*.reg ${DATADIR}
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/py-smb
- ${CP} ${WRKSRC}/README ${PREFIX}/share/doc/py-smb
- ${CP} ${WRKSRC}/docs/*.html ${WRKSRC}/docs/*.gif ${PREFIX}/share/doc/py-smb
+ @${MKDIR} ${DOCSDIR}
+ ${CP} ${WRKSRC}/README ${DOCSDIR}
+ ${CP} ${WRKSRC}/docs/*.html ${WRKSRC}/docs/*.gif ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/net/py-smb/distinfo b/net/py-smb/distinfo
index 592d055b7dd4..4c9e39011990 100644
--- a/net/py-smb/distinfo
+++ b/net/py-smb/distinfo
@@ -1 +1 @@
-MD5 (pysmb-0.4.1.tar.gz) = d3db5d6fd4eaeef1e68088b00f639f07
+MD5 (pysmb-0.4.2.tar.gz) = d07e3b25fcfc9c953800fdff32eec885