mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
a5a000df3b
PR: 277776 Approved by: portmgr (exp-run)
28 lines
708 B
Makefile
28 lines
708 B
Makefile
PORTNAME= icapeg
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.0.0
|
|
PORTREVISION= 5
|
|
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>
|