? libsigc++20/work Index: libsigc++20/Makefile =================================================================== RCS file: /home/pcvs/ports/devel/libsigc++20/Makefile,v retrieving revision 1.54 diff -a -u -r1.54 Makefile --- libsigc++20/Makefile 3 Sep 2009 22:52:12 -0000 1.54 +++ libsigc++20/Makefile 13 Sep 2009 22:41:11 -0000 @@ -27,13 +27,12 @@ PLIST_SUB= VERSION="2.0" API_VERSION="2.0" +.if defined(NOPORTDOCS) +CONFIGURE_ARGS+=--enable-documentation=no +.endif + post-patch: @${REINPLACE_CMD} -e "/^SUBDIRS =/s|tests||; \ /^SUBDIRS =/s|examples||" ${WRKSRC}/Makefile.in -.if defined(NOPORTDOCS) - @${REINPLACE_CMD} -e "/^install-data-am:/s/install-libsigc_docDATA//; \ - s/^\(SUBDIRS =\).*/\1/" \ - ${WRKSRC}/docs/Makefile.in -.endif .include