openbsd-ports/textproc/intltool/intltool.port.mk
ajacoutot dc9a7dff5b - add support for intltool module
this allows easy use of the intltool-* scripts from our package instead
of the ones bundled in the source tarball of a program
2007-12-12 14:41:58 +00:00

13 lines
438 B
Makefile

# $OpenBSD: intltool.port.mk,v 1.1 2007/12/12 14:41:58 ajacoutot Exp $
BUILD_DEPENDS+= ::textproc/intltool
MODINTLTOOL_OVERRIDE=INTLTOOL_EXTRACT=${LOCALBASE}/bin/intltool-extract \
INTLTOOL_MERGE=${LOCALBASE}/bin/intltool-merge \
INTLTOOL_UPDATE=${LOCALBASE}/bin/intltool-update
CONFIGURE_ENV+= ${MODINTLTOOL_OVERRIDE}
MAKE_ENV+= ${MODINTLTOOL_OVERRIDE}
MAKE_FLAGS+= ${MODINTLTOOL_OVERRIDE}
REGRESS_FLAGS+= ${MODINTLTOOL_OVERRIDE}