aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/rinetd/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/rinetd/Makefile b/net/rinetd/Makefile
index 493ca5176761..75e82e91a5c8 100644
--- a/net/rinetd/Makefile
+++ b/net/rinetd/Makefile
@@ -19,7 +19,7 @@ COMMENT= A simple TCP port redirector
OPTIONS_DEFINE= DOCS
-WRKSRC= ${WRKDIR}/rinetd/
+WRKSRC= ${WRKDIR}/rinetd-${PORTVERSION}
MAKE_JOBS_SAFE= yes
USE_DOS2UNIX= yes
@@ -32,6 +32,9 @@ USE_RC_SUBR= rinetd
.include <bsd.port.pre.mk>
+post-extract:
+ @${MV} ${WRKDIR}/rinetd ${WRKSRC}
+
post-patch:
@${REINPLACE_CMD} -E "s,(/etc/rinetd.conf),${PREFIX}\1," \
${WRKSRC}/rinetd.[8c]