MAN1= xcircuit.1
post-patch:
@find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
@find ${WRKSRC} -name '*.[ch]' | xargs ${REINPLACE_CMD} -e \
's|<malloc.h>|<stdlib.h>|g'
post-install: