aboutsummaryrefslogtreecommitdiff
path: root/www/newsbeuter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/newsbeuter/Makefile')
-rw-r--r--www/newsbeuter/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/www/newsbeuter/Makefile b/www/newsbeuter/Makefile
index 7ff9bdfa08f2..defb107b688b 100644
--- a/www/newsbeuter/Makefile
+++ b/www/newsbeuter/Makefile
@@ -23,8 +23,13 @@ USE_PERL5_BUILD=yes
MAN1= newsbeuter.1 podbeuter.1
+.include <bsd.port.pre.mk>
+
post-patch:
${REINPLACE_CMD} -e "s,share/man,man,; \
s,prefix,PREFIX," ${WRKSRC}/Makefile
+.if ${OSVERSION} < 602107
+ ${REINPLACE_CMD} -e "s,ncursesw,ncurses," ${WRKSRC}/Makefile
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>