1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/www/uchiwa/Makefile
2023-04-08 10:13:25 -05:00

59 lines
3.2 KiB
Makefile

PORTNAME= uchiwa
PORTVERSION= 0.18.2
PORTREVISION= 13
CATEGORIES= www
MASTER_SITES= http://uchiwa.io/
MAINTAINER= alexander@treg.io
COMMENT= Simple dashboard for Sensu
WWW= https://uchiwa.io/
LICENSE= MIT
USES= go
UCHIWA_LOGDIR= /var/log/uchiwa
UCHIWA_CONFDIR= ${PREFIX}/etc/uchiwa
UCHIWA_SHAREDIR= ${PREFIX}/share/uchiwa/public
USE_RC_SUBR= ${PORTNAME}
USE_GITHUB= yes
GH_ACCOUNT= sensu
GH_TUPLE= dgrijalva:jwt-go:61124b62ad244d655f87d944aefaa2ae5a0d2f16:jwtgo/vendor/github.com/dgrijalva/jwt-go
GH_TUPLE+= gorilla:context:215affda49addc4c8ef7e2534915df2c8c35c6cd:context/vendor/github.com/gorilla/context
GH_TUPLE+= mitchellh:mapstructure:f7d28d5aeab42b9b95d2e6d6b956f73a290077fc:mapstructure/vendor/github.com/mitchellh/mapstructure
GH_TUPLE+= palourde:mergo:d931ffd2c07cb4caf7194e0f6af9ac6771c26d54:mergo/vendor/github.com/palourde/mergo
GH_TUPLE+= stretchr:objx:cbeaeb16a013161a98496fad62933b1d21786672:objx/vendor/github.com/stretchr/objx
GH_TUPLE+= stretchr:testify:e4ec8152c15fc46bd5056ce65997a07c7d415325:testify/vendor/github.com/stretchr/testify
GH_TUPLE+= sensu:uchiwa-web:${PORTVERSION}:uchiwaweb/public/bower_components/uchiwa-web
GH_TUPLE+= angular:bower-angular-cookies:b89821e37d3011ad0bca9a4847a8fcc59f90fabb:bowerangularcookies/public/bower_components/angular-cookies
GH_TUPLE+= urish:angular-moment:0.9.2:urishangularmoment/public/bower_components/angular-moment
GH_TUPLE+= angular:bower-angular:v1.4.11:angularbowerangular/public/bower_components/angular
GH_TUPLE+= angular:bower-angular-route:v1.4.11:angularbowerangularroute/public/bower_components/angular-route
GH_TUPLE+= angular:bower-angular-sanitize:v1.4.11:angularbowerangularsanitize/public/bower_components/angular-sanitize
GH_TUPLE+= twbs:bootstrap:v3.1.1:bootstrap/public/bower_components/bootstrap
GH_TUPLE+= twbs:bootstrap-sass:v3.1.1:bootstrapsass/public/bower_components/bootstrap-sass-official
GH_TUPLE+= foxandxss:angular-toastr:1.6.0:forandxssangulartoastr/public/bower_components/angular-toastr
GH_TUPLE+= wallin:angular-gravatar:0.3.2:wallinangulargravatar/public/bower_components/angular-gravatar
GH_TUPLE+= fortawesome:Font-Awesome:v4.4.0:fortawesomefontawesome/public/bower_components/fontawesome
GH_TUPLE+= components:highlightjs:08edd75426b52b165cc2b8a569870df4794c36dc:componentshighlightjs/public/bower_components/highlightjs
GH_TUPLE+= angular-ui:bootstrap-bower:0.13.4:angularuibootstrapbower/public/bower_components/angular-bootstrap
GH_TUPLE+= moment:moment:2.8.4:momentmoment/public/bower_components/moment
GH_TUPLE+= jquery:jquery-dist:3.0.0:jqueryjquery/public/bower_components/jquery
GH_TUPLE+= jashkenas:underscore:1f4bf626f23a99f7a676f5076dc1b1475554c8f7:jashkenasunderscore/public/bower_components/underscore
GH_TUPLE+= kless:osutil:3ac994847c4376a4b905fc0a19f450c5a4bec647:klessosutil/vendor/github.com/kless/osutil
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
USERS= uchiwa
GROUPS= uchiwa
post-install:
${MKDIR} ${STAGEDIR}${UCHIWA_LOGDIR} \
${STAGEDIR}${UCHIWA_CONFDIR} \
${STAGEDIR}${UCHIWA_SHAREDIR}
${INSTALL_DATA} ${WRKSRC}/config.json.example ${STAGEDIR}${PREFIX}/etc/uchiwa/config.json.sample
(cd ${WRKSRC}/public && ${COPYTREE_SHARE} . ${STAGEDIR}${UCHIWA_SHAREDIR})
.include <bsd.port.mk>