aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/cvs/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/cvs/Makefile b/devel/cvs/Makefile
index c1e2708e994b..869165ae120f 100644
--- a/devel/cvs/Makefile
+++ b/devel/cvs/Makefile
@@ -40,8 +40,13 @@ WRKSRC= ${WRKDIR}/call/cvs-build
DESTDIRNAME= NADA
MAKE_ARGS= DESTDIR=${STAGEDIR}${PREFIX}
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e "s,/info/,/${INFO_PATH}/,g" ${WRKSRC}/Makefile.inc
+.if !${PORT_OPTIONS:MINFO}
+ @${REINPLACE_CMD} -e "s,doc,,g" ${WRKSRC}/Makefile
+.endif
pre-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/contrib