aboutsummaryrefslogtreecommitdiff
path: root/net/relayd/Makefile
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-04 10:53:01 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-04 10:53:01 +0000
commite067ed47e5dbdb909a509bd1a82802faade8856a (patch)
tree1de2f49db325c1bea144980c274c637d66cdebf6 /net/relayd/Makefile
parent22aed26cec0cd4e22ed1af90a6c93feb465343ba (diff)
downloadports-e067ed47e5dbdb909a509bd1a82802faade8856a.tar.gz
ports-e067ed47e5dbdb909a509bd1a82802faade8856a.zip
Notes
Diffstat (limited to 'net/relayd/Makefile')
-rw-r--r--net/relayd/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/net/relayd/Makefile b/net/relayd/Makefile
index bd3de68a902d..b5f9743721ed 100644
--- a/net/relayd/Makefile
+++ b/net/relayd/Makefile
@@ -2,7 +2,7 @@
PORTNAME= relayd
PORTVERSION= 5.5.20140810
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= net
MAINTAINER= koue@chaosophia.net
@@ -25,13 +25,6 @@ MAKE_ARGS+= BINDIR=${PREFIX}/sbin \
USERS= _relayd
GROUPS= _relayd
-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
@@ -48,6 +41,11 @@ BUILD_DEPENDS+= ${NONEXISTENT}:security/libressl:stage
CFLAGS+= -I${STAGEDIR_libressl}${LOCALBASE}/include
post-configure:
+ ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
+ ${WRKSRC}/relayd/relay.c \
+ ${WRKSRC}/relayd/relayd.h \
+ ${WRKSRC}/relayd/relayd.conf.5 \
+ ${WRKSRC}/relayd/relayd.8
${REINPLACE_CMD} 's|-lssl|${STAGEDIR_libressl}${LOCALBASE}/lib/libssl.a|g' \
${WRKSRC}/relayd/Makefile
${REINPLACE_CMD} 's|-lcrypto|${STAGEDIR_libressl}${LOCALBASE}/lib/libcrypto.a|g' \