1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/net/py-smb/Makefile
Mario Sergio Fujikawa Ferreira f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00

40 lines
893 B
Makefile

# ex:ts=8
# Ports collection makefile for: pysmb
# Date created: Jan 11, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= smb
PORTVERSION= 0.4.2
CATEGORIES= net python
MASTER_SITES= http://miketeo.net/projects/pysmb/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pysmb-${PORTVERSION}
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
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PYTHON_SITELIBDIR}
.endfor
.for file in nmbquery smbcp smbdu smblistshare
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
@${MKDIR} ${DATADIR}
${CP} ${WRKSRC}/extra/*.reg ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} ${WRKSRC}/README ${DOCSDIR}
${CP} ${WRKSRC}/docs/*.html ${WRKSRC}/docs/*.gif ${DOCSDIR}
.endif
.include <bsd.port.mk>