@${REINPLACE_CMD} -E \
-e "s,^pkgconfigdir =.*,pkgconfigdir = \$$(prefix)/libdata/pkgconfig,g" \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} '/^Cflags:/s|$$| -I$${includedir}/event2/compat|' \
${WRKSRC}/*.pc.in
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/event_rpcgen.py ${PREFIX}/bin/event2_rpcgen.py