- 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
This commit is contained in:
ajacoutot 2007-12-12 14:41:58 +00:00
parent 832661e197
commit dc9a7dff5b

View File

@ -0,0 +1,12 @@
# $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}