- Do not install docs, even when unwanted doxygen is around

This commit is contained in:
Andrew Pantyukhin 2007-08-15 17:30:42 +00:00
parent 111fc99ac7
commit c29e745552

View file

@ -27,9 +27,11 @@ BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
PLIST_SUB= DOCS="" PORTVERSION=${PORTVERSION}
.else
PLIST_SUB= DOCS="@comment "
NODOC= /^SUBDIRS/s|doc||
.endif
post-patch:
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|;\
${NODOC}' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>