2017-11-23 18:19:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.43 2017/11/23 17:19:59 wiz Exp $
|
2010-08-31 10:26:54 +02:00
|
|
|
|
|
|
|
.include "../../inputmethod/input-pad/Makefile.common"
|
|
|
|
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
2017-11-23 18:19:40 +01:00
|
|
|
PKGREVISION= 7
|
2010-08-31 10:26:54 +02:00
|
|
|
|
2015-03-15 20:11:21 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2010-08-31 10:26:54 +02:00
|
|
|
COMMENT= Python wrapper for Input Pad
|
|
|
|
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
|
2013-01-25 13:54:07 +01:00
|
|
|
BUILD_DEPENDS+= swig-1.[0-9]*:../../devel/swig
|
2010-08-31 10:26:54 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_PKGLOCALEDIR= yes
|
2011-01-09 11:33:02 +01:00
|
|
|
USE_TOOLS+= gmake pkg-config intltool msgfmt xgettext msgmerge
|
2010-08-31 10:26:54 +02:00
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= input-pad.pc.in
|
|
|
|
|
2013-10-23 14:31:14 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-pygobject2=yes
|
2013-12-07 12:32:31 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-maintainer-mode
|
2010-08-31 10:26:54 +02:00
|
|
|
|
|
|
|
BUILD_DIRS= pyinput-pad
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
${LN} -s ${BUILDLINK_DIR}/lib/libinput-pad.la ${WRKSRC}/input-pad
|
|
|
|
|
|
|
|
PY_PATCHPLIST= yes
|
2017-01-01 15:43:22 +01:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-gtk2
|
2010-08-31 10:26:54 +02:00
|
|
|
|
2010-11-30 12:39:12 +01:00
|
|
|
BUILDLINK_API_DEPENDS.input-pad+= input-pad>=${PKGVERSION_NOREV}
|
2010-08-31 10:26:54 +02:00
|
|
|
.include "../../inputmethod/input-pad/buildlink3.mk"
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|