blob: e678dbfd4f69220aa6ec5c9a978b26a124be32c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.9 2010/11/15 22:56:47 abs Exp $
#
DISTNAME= valide-0.4.0
PKGREVISION= 5
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
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pkg-config msgfmt intltool
PYTHON_FOR_BUILD_ONLY= yes
REPLACE_PYTHON+= wscript waf \
*/wscript_build \
*/*/wscript_build
WAF_ENV= 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"
|