Lines 3-8
Link Here
|
3 |
PORTNAME= statsite |
3 |
PORTNAME= statsite |
4 |
PORTVERSION= 0.8.0 |
4 |
PORTVERSION= 0.8.0 |
5 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSIONPREFIX= v |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= net-mgmt |
7 |
CATEGORIES= net-mgmt |
7 |
|
8 |
|
8 |
MAINTAINER= rbarabas@rbarabas.info |
9 |
MAINTAINER= rbarabas@rbarabas.info |
Lines 11-17
Link Here
|
11 |
LICENSE= BSD3CLAUSE |
12 |
LICENSE= BSD3CLAUSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
14 |
|
14 |
USES= autoreconf |
15 |
USES= autoreconf python:run |
15 |
GNU_CONFIGURE= yes |
16 |
GNU_CONFIGURE= yes |
16 |
USE_GITHUB= yes |
17 |
USE_GITHUB= yes |
17 |
GH_ACCOUNT= armon |
18 |
GH_ACCOUNT= armon |
Lines 20-25
Link Here
|
20 |
|
21 |
|
21 |
USERS= statsd |
22 |
USERS= statsd |
22 |
GROUPS= statsd |
23 |
GROUPS= statsd |
|
|
24 |
USE_RC_SUBR= ${PORTNAME} |
23 |
|
25 |
|
24 |
OPTIONS_DEFINE= DOCS |
26 |
OPTIONS_DEFINE= DOCS |
25 |
|
27 |
|
Lines 26-31
Link Here
|
26 |
PORTDOCS= README.md |
28 |
PORTDOCS= README.md |
27 |
|
29 |
|
28 |
post-install: |
30 |
post-install: |
|
|
31 |
${REINPLACE_CMD} -e 's,python,${PYTHON_CMD}, ; \ |
32 |
s,/usr/libexec,/usr/local/share, ; \ |
33 |
/daemonize/d ; /pid_file/d ' \ |
34 |
${WRKSRC}/rpm/statsite.conf.example |
29 |
${INSTALL_DATA} ${WRKSRC}/rpm/statsite.conf.example \ |
35 |
${INSTALL_DATA} ${WRKSRC}/rpm/statsite.conf.example \ |
30 |
${STAGEDIR}${PREFIX}/etc/statsite.conf.sample |
36 |
${STAGEDIR}${PREFIX}/etc/statsite.conf.sample |
31 |
|
37 |
|