1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/net/relayd/Makefile

41 lines
729 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= relayd
2014-08-10 20:12:03 +00:00
PORTVERSION= 5.5.20140810
PORTREVISION= 2
CATEGORIES= net
MAINTAINER= mm@FreeBSD.org
COMMENT= OpenBSD relay daemon
LICENSE= ISCL
2011-03-23 15:53:22 +00:00
2013-10-24 20:24:08 +00:00
GH_ACCOUNT= mmatuska
USES= uidfix ssl
2013-10-24 20:24:08 +00:00
USE_GITHUB= yes
USE_RC_SUBR= relayd
2015-05-07 18:52:19 +00:00
WRKSRC_SUBDIR= src/usr.sbin
CFLAGS+= -Wall
MAKE_ARGS+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
USERS= _relayd
GROUPS= _relayd
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/relayd/relay.c \
${WRKSRC}/relayd/relayd.h \
${WRKSRC}/relayd/relayd.conf.5 \
${WRKSRC}/relayd/relayd.8
post-install:
@${INSTALL_DATA} ${WRKSRC}/../etc/relayd.conf \
2014-01-19 12:07:21 +00:00
${STAGEDIR}${PREFIX}/etc/relayd.conf.sample
.include <bsd.port.post.mk>