Lines 11-17
Link Here
|
11 |
LICENSE= BSD3CLAUSE |
11 |
LICENSE= BSD3CLAUSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
13 |
|
14 |
USES= autoreconf |
14 |
USES= autoreconf python |
15 |
GNU_CONFIGURE= yes |
15 |
GNU_CONFIGURE= yes |
16 |
USE_GITHUB= yes |
16 |
USE_GITHUB= yes |
17 |
GH_ACCOUNT= armon |
17 |
GH_ACCOUNT= armon |
Lines 20-25
Link Here
|
20 |
|
20 |
|
21 |
USERS= statsd |
21 |
USERS= statsd |
22 |
GROUPS= statsd |
22 |
GROUPS= statsd |
|
|
23 |
USE_RC_SUBR= ${PORTNAME} |
23 |
|
24 |
|
24 |
OPTIONS_DEFINE= DOCS |
25 |
OPTIONS_DEFINE= DOCS |
25 |
|
26 |
|
Lines 26-31
Link Here
|
26 |
PORTDOCS= README.md |
27 |
PORTDOCS= README.md |
27 |
|
28 |
|
28 |
post-install: |
29 |
post-install: |
|
|
30 |
${REINPLACE_CMD} -e '/^stream_cmd/s,python,${PYTHON_CMD}, ; \ |
31 |
/^pid_file/s,/run/statsite,/statsite, ; \ |
32 |
s,/usr/libexec,/usr/local, ; /daemonize/d ; /pid_file/d ' \ |
33 |
${WRKSRC}/rpm/statsite.conf.example |
29 |
${INSTALL_DATA} ${WRKSRC}/rpm/statsite.conf.example \ |
34 |
${INSTALL_DATA} ${WRKSRC}/rpm/statsite.conf.example \ |
30 |
${STAGEDIR}${PREFIX}/etc/statsite.conf.sample |
35 |
${STAGEDIR}${PREFIX}/etc/statsite.conf.sample |
31 |
|
36 |
|