44 lines
1.4 KiB
Makefile
44 lines
1.4 KiB
Makefile
# Makefile 2022-05-13 10:36:39Z yo $
|
|
|
|
PORTNAME= mynettcptable
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.0.0-rc2
|
|
CATEGORIES= mail
|
|
MASTER_SITES= https://git.nosd.in/yo/mynettcptable/archive/
|
|
# Gitea packaging need some tweaks
|
|
DISTNAME= ${DISTVERSIONPREFIX}${DISTVERSION}
|
|
|
|
MAINTAINER= johan@nosd.in
|
|
COMMENT= Postfix tcp_table service to get mynetworks from LDAP
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USES= go
|
|
|
|
# Gitea packaging need some tweaks
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
|
EXTRACT_AFTER_ARGS= && ${MV} ${PORTNAME} ${PORTNAME}-${DISTVERSION}
|
|
|
|
USERS= nobody
|
|
GROUPS= nogroup
|
|
|
|
GH_TUPLE= \
|
|
Azure:go-ntlmssp:48547f28849e:azure_go_ntlmssp/vendor/github.com/Azure/go-ntlmssp \
|
|
go-asn1-ber:asn1-ber:v1.5.4:go_asn1_ber_asn1_ber/vendor/github.com/go-asn1-ber/asn1-ber \
|
|
go-ldap:ldap:v3.4.3:go_ldap_ldap_v3/vendor/github.com/go-ldap/ldap \
|
|
golang:crypto:ae2d96664a29:golang_crypto/vendor/golang.org/x/crypto \
|
|
golang:sys:665e8c7367d1:golang_sys/vendor/golang.org/x/sys \
|
|
peterbourgon:ff:v1.7.1:peterbourgon_ff/vendor/github.com/peterbourgon/ff \
|
|
sirupsen:logrus:v1.8.1:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
|
|
tabalt:pidfile:v1.1.0:tabalt_pidfile/vendor/github.com/tabalt/pidfile
|
|
|
|
USE_RC_SUBR= mynettcptable
|
|
|
|
pre-test:
|
|
${SETENV} GOPATH="${WRKDIR}"
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/mynettcptable.conf.sample ${STAGEDIR}${PREFIX}/etc/
|
|
|
|
.include <bsd.port.mk>
|