Index: devel/autoconf/Makefile =================================================================== --- devel/autoconf/Makefile (revision 520720) +++ devel/autoconf/Makefile (working copy) @@ -24,11 +24,17 @@ BUILD_DEPENDS= gm4:devel/m4 \ RUN_DEPENDS= gm4:devel/m4 \ autoconf-wrapper:devel/autoconf-wrapper +USES= gmake perl5 tar:xz + +OPTIONS_DEFINE= INFO +OPTIONS_DEFAULT=INFO + BUILD_VERSION= 2.69 PLIST_SUB= BUILD_VERSION=${BUILD_VERSION} -USES= gmake makeinfo perl5 tar:xz -INFO= autoconf +INFO_INFO= autoconf +INFO_USES= makeinfo + GNU_CONFIGURE= yes CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4 AWK=${AWK} \ ac_cv_prog_TEST_EMACS=no @@ -38,6 +44,8 @@ GENERIC_TOOLS= config.guess config.sub elisp-comp GENERIC_LINKS= autoconf autoheader autom4te autoreconf autoscan autoupdate \ ifnames +.include + post-patch: @(cd ${WRKSRC}/man && \ for file in *.[1x]; do \ @@ -44,7 +52,9 @@ post-patch: ${REINPLACE_CMD} -E 's,([^-]auto)(conf|make|reconf|update|header|scan),\1\2-${BUILD_VERSION},g ; \ s,(config\.guess|config\.sub|ifnames),\1-${BUILD_VERSION},g' $$file ; \ done) +.if ${PORT_OPTIONS:MINFO} @(cd ${WRKSRC}/doc && ${RM} *.info) +.endif @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|@PACKAGE@$$|@PACKAGE@-@VERSION@|'