View | Details | Raw Unified | Return to bug 246042 | Differences between
and this patch

Collapse All | Expand All

(-)b/net/wsdd/Makefile (+41 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	wsdd
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	0.5
6
CATEGORIES=	net python
7
8
MAINTAINER=	hiroo.ono+freebsd@gmail.com
9
COMMENT=	Web Service Discovery host daemon
10
11
LICENSE=	MIT
12
LICENSE_FILE=	${WRKSRC}/LICENCE
13
14
USES=		python:3.5+
15
NO_BUILD=	yes
16
USE_GITHUB=	yes
17
GH_ACCOUNT=	christgau
18
19
DOC_FILES=	AUTHORS CONTRIBUTING.md README.md
20
PLIST_FILES=	bin/${PORTNAME} \
21
		etc/rc.d/${PORTNAME} \
22
		${DOCSDIR_REL}/AUTHORS \
23
		${DOCSDIR_REL}/CONTRIBUTING.md \
24
		${DOCSDIR_REL}/README.md
25
26
post-patch:
27
	@${REINPLACE_CMD} -e 's|python3|${PYTHON_VERSION}|' \
28
		${WRKSRC}/src/wsdd.py
29
30
do-install:
31
	${INSTALL_SCRIPT} ${WRKSRC}/src/${PORTNAME}.py \
32
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
33
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d
34
	${INSTALL_SCRIPT} ${WRKSRC}/etc/rc.d/${PORTNAME} \
35
		${STAGEDIR}${PREFIX}/etc/rc.d/${PORTNAME}
36
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
37
.for f in ${DOC_FILES}
38
	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
39
.endfor
40
41
.include <bsd.port.mk>
(-)b/net/wsdd/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1588200228
2
SHA256 (christgau-wsdd-v0.5_GH0.tar.gz) = c04852b053b78fd9d5b3e28b49a06f8ee707ccdaf82cc1e449ece031ad494bea
3
SIZE (christgau-wsdd-v0.5_GH0.tar.gz) = 16820
(-)b/net/wsdd/pkg-descr (+5 lines)
Added Link Here
1
wsdd implements a Web Service Discovery host daemon. This enables (Samba)
2
hosts, like your local NAS device, to be found by Web Service Discovery Clients
3
like Windows.
4
5
WWW: https://github.com/christgau/wsdd
(-)b/net/wsdd/pkg-message (+8 lines)
Added Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
To run wsdd at startup, you need to add the following to /etc/rc.conf:
5
6
    wsdd_enable="YES"
7
EOM
8
]

Return to bug 246042