1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/net/py-wsdd/Makefile
Matthias Andree 2f7e3d4f5d new port: net/py-wsdd, web service discovery host daemon
wsdd implements a Web Service Discovery host daemon. This enables (Samba)
hosts, like your local NAS device, to be found by Web Service Discovery
Clients like Windows.

WWW: https://github.com/christgau/wsdd

PR:		246042
Submitted by:	Hiroo Ono <hiroo.ono+freebsd@gmail.com> (maintainer)
2020-05-02 17:56:59 +00:00

36 lines
838 B
Makefile

# $FreeBSD$
PORTNAME= wsdd
DISTVERSIONPREFIX= v
DISTVERSION= 0.5
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= hiroo.ono+freebsd@gmail.com
COMMENT= Web Service Discovery (WSD) host daemon for Samba
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENCE
USES= python:3.5+,run shebangfix
USE_GITHUB= yes
GH_ACCOUNT= christgau
SHEBANG_FILES= src/${PORTNAME}.py
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME} \
etc/rc.d/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/${PORTNAME}.py \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d
${INSTALL_SCRIPT} ${WRKSRC}/etc/rc.d/${PORTNAME} \
${STAGEDIR}${PREFIX}/etc/rc.d/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1/
.include <bsd.port.mk>