pkgsrc/devel/valide/Makefile
wiz aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00

43 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.30 2014/01/25 10:30:06 wiz Exp $
DISTNAME= valide-0.4.0
PKGREVISION= 23
CATEGORIES= devel
MASTER_SITES= http://valide.googlecode.com/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.valaide.org/
COMMENT= IDE for the Vala programming language
USE_TOOLS+= pkg-config msgfmt intltool
PYTHON_FOR_BUILD_ONLY= yes
REPLACE_PYTHON+= wscript waf \
*/wscript_build \
*/*/wscript_build
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 0.4.0
WAF_ENV= PATH=${PATH} CC=${CC:Q} CXX=${CXX:Q} PREFIX=${PREFIX:Q} \
CFLAGS=${CFLAGS:Q} CXXFLAGS=${CXXFLAGS:Q} \
LINKFLAGS=${LDFLAGS:Q} DESTDIR=${DESTDIR:Q}
.if defined(MAKE_JOBS)
WAF_ENV+= JOBS=${MAKE_JOBS:Q}
.endif
do-configure:
cd ${WRKSRC} && env ${WAF_ENV} ./waf configure
do-build:
cd ${WRKSRC} && env ${WAF_ENV} ./waf
do-install:
cd ${WRKSRC} && env ${WAF_ENV} ./waf install
.include "../../lang/python/application.mk"
.include "../../lang/vala/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/gtksourceview2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"