pkgsrc/inputmethod/py-input-pad/Makefile
2013-06-06 12:53:40 +00:00

34 lines
863 B
Makefile

# $NetBSD: Makefile,v 1.26 2013/06/06 12:54:38 wiz Exp $
#
.include "../../inputmethod/input-pad/Makefile.common"
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 9
MAINTAINER= obache@NetBSD.org
COMMENT= Python wrapper for Input Pad
DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
BUILD_DEPENDS+= swig-1.[0-9]*:../../devel/swig
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake pkg-config intltool msgfmt xgettext msgmerge
PKGCONFIG_OVERRIDE+= input-pad.pc.in
CONFIGURE_ARGS+= --enable-python=yes
BUILD_DIRS= pyinput-pad
post-configure:
${LN} -s ${BUILDLINK_DIR}/lib/libinput-pad.la ${WRKSRC}/input-pad
PY_PATCHPLIST= yes
BUILDLINK_API_DEPENDS.input-pad+= input-pad>=${PKGVERSION_NOREV}
.include "../../inputmethod/input-pad/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"