blob: 59df60f377fc1297f95026803f3d1063b2709dee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
PORTNAME= wsdd
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.4
PORTREVISION= 2
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}/LICENSE
USES= python:3.5+,run shebangfix
USE_GITHUB= yes
GH_ACCOUNT= christgau
SHEBANG_FILES= src/${PORTNAME}.py
NO_ARCH= yes
NO_BUILD= yes
USERS= _wsdd
GROUPS= _wsdd
PLIST_FILES= bin/${PORTNAME} \
etc/rc.d/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
post-patch:
${REINPLACE_CMD} 's|PYTHON|${PYTHON_CMD}|' ${WRKSRC}/etc/rc.d/${PORTNAME}
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>
|