freebsd-ports/security/oidentd/Makefile
Steve Wills 0bcfe1aae2 security/oidentd: Update to 2.5.0
PR:		247657
Submitted by:	daniel.engberg.lists@pyret.net
Approved by:	maintainer timeout (oliver, >1 month)
2020-08-02 13:05:56 +00:00

45 lines
1.1 KiB
Makefile

# Created by: trevor
# $FreeBSD$
PORTNAME= oidentd
PORTVERSION= 2.5.0
CATEGORIES= security
MASTER_SITES= https://files.janikrabe.com/pub/oidentd/releases/2.5.0/
MAINTAINER= oliver@FreeBSD.org
COMMENT= Ident server that supports user-defined ident strings
LICENSE= GPLv2
USES= bison
USE_RC_SUBR= oidentd
GNU_CONFIGURE= yes
PLIST_FILES= sbin/oidentd etc/oidentd.conf.sample \
etc/oidentd_masq.conf.sample
MANPAGES= oidentd.conf.5 oidentd_masq.conf.5 oidentd.8
.for man in ${MANPAGES}
PLIST_FILES+= man/man${man:E}/${man}.gz
.endfor
OPTIONS_DEFINE= IPV6
CONFIGURE_ARGS=--disable-masq
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+=--disable-ipv6
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/oidentd ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${FILESDIR}/oidentd.conf.sample ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${FILESDIR}/oidentd_masq.conf.sample ${STAGEDIR}${PREFIX}/etc
.for MANFILE in ${MANPAGES}
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/doc/${MANFILE}
${INSTALL_MAN} ${WRKSRC}/doc/${MANFILE} ${STAGEDIR}${PREFIX}/man/man${MANFILE:E}
.endfor
.include <bsd.port.mk>