Lines 2-7
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= semaphore |
3 |
PORTNAME= semaphore |
4 |
PORTVERSION= 2.5.1 |
4 |
PORTVERSION= 2.5.1 |
|
|
5 |
PORTREVISION= 1 |
5 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONPREFIX= v |
6 |
PORTREVISION= 1 |
7 |
PORTREVISION= 1 |
7 |
CATEGORIES= net-mgmt |
8 |
CATEGORIES= net-mgmt |
Lines 9-16
Link Here
|
9 |
MAINTAINER= egypcio@FreeBSD.org |
10 |
MAINTAINER= egypcio@FreeBSD.org |
10 |
COMMENT= Open Source alternative to Ansible Tower |
11 |
COMMENT= Open Source alternative to Ansible Tower |
11 |
|
12 |
|
12 |
BROKEN= unfetchable |
|
|
13 |
|
14 |
LICENSE= MIT |
13 |
LICENSE= MIT |
15 |
LICENSE_FILE= ${GO_WRKSRC}/LICENSE |
14 |
LICENSE_FILE= ${GO_WRKSRC}/LICENSE |
16 |
|
15 |
|
Lines 67-81
Link Here
|
67 |
go-mgo:mgo:3f83fa5:pkgin4/vendor/gopkg.in/mgo.v2 \ |
66 |
go-mgo:mgo:3f83fa5:pkgin4/vendor/gopkg.in/mgo.v2 \ |
68 |
go-yaml:yaml:v2.2.1:pkgin5/vendor/gopkg.in/yaml.v2 |
67 |
go-yaml:yaml:v2.2.1:pkgin5/vendor/gopkg.in/yaml.v2 |
69 |
|
68 |
|
70 |
OPTIONS_DEFINE= MYSQL |
|
|
71 |
MYSQL_USES= mysql |
72 |
|
73 |
post-patch: |
69 |
post-patch: |
74 |
${REINPLACE_CMD} 's/%%PORTVERSION%%/${PORTVERSION}/g' \ |
70 |
${REINPLACE_CMD} 's/%%PORTVERSION%%/${PORTVERSION}/g' \ |
75 |
${WRKSRC}/util/config.go |
71 |
${WRKSRC}/util/config.go |
76 |
|
72 |
|
77 |
post-install: |
73 |
post-install: |
78 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/semaphore |
74 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} |
79 |
${CP} ${WRKSRC}/config.json ${STAGEDIR}${PREFIX}/etc/semaphore/semaphore_config.json.sample |
75 |
${CP} ${WRKSRC}/config.json ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/semaphore_config.json.sample |
|
|
76 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME} |
77 |
${CP} ${WRKSRC}/db/migrations/*.sql ${STAGEDIR}${PREFIX}/share/${PORTNAME} |
80 |
|
78 |
|
81 |
.include <bsd.port.mk> |
79 |
.include <bsd.port.mk> |