aboutsummaryrefslogtreecommitdiff
path: root/www/icapeg/Makefile
blob: 11ed7593bf53e374b51b228ed4850628869dbdd6 (plain) (blame)
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
PORTNAME=	icapeg
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.0
PORTREVISION=	8
CATEGORIES=	www

MAINTAINER=	support@egirna.com
COMMENT=	ICAP server implementation with Multi vendor support
WWW=		https://github.com/egirna/icapeg

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
GO_MODULE=	github.com/egirna/icapeg

post-install:
	${MKDIR} ${STAGEDIR}${ETCDIR}
	${INSTALL_DATA} ${WRKSRC}/config.toml ${STAGEDIR}${ETCDIR}/config.toml.sample
	${MKDIR} ${STAGEDIR}${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/temp/exception-page.html ${STAGEDIR}${DATADIR}/exception-page.html

PLIST_FILES=	"${DATADIR}/exception-page.html" \
		"@sample ${ETCDIR}/config.toml.sample" \
		bin/icapeg

.include <bsd.port.mk>