1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/net/relayd/Makefile
Mathieu Arnold a28f0f7f7f Remove all USE_OPENSSL occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:30 +00:00

41 lines
729 B
Makefile

# $FreeBSD$
PORTNAME= relayd
PORTVERSION= 5.5.20140810
PORTREVISION= 2
CATEGORIES= net
MAINTAINER= mm@FreeBSD.org
COMMENT= OpenBSD relay daemon
LICENSE= ISCL
GH_ACCOUNT= mmatuska
USES= uidfix ssl
USE_GITHUB= yes
USE_RC_SUBR= relayd
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 \
${STAGEDIR}${PREFIX}/etc/relayd.conf.sample
.include <bsd.port.post.mk>