aboutsummaryrefslogtreecommitdiffstats
path: root/lang/vala/Makefile
blob: ecf189a53c3b6be1ee37b59f60c4607024071571 (plain) (blame)
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
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$

PORTNAME=   vala
PORTVERSION=    0.26.2
CATEGORIES= lang gnome
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Programming language and compiler that converts Vala code into C code

LICENSE=    LGPL21

USES=       bison gettext gmake libtool pathfix pkgconfig tar:xz
USE_GNOME=  glib20 gnomeprefix libxslt
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
USE_LDCONFIG=   yes
INSTALL_TARGET= install-strip

VALA_VER=   ${PORTVERSION:R}

PLIST_SUB=  VERSION=${VALA_VER}

post-install:
    ${LN} -fs ${PREFIX}/libdata/pkgconfig/libvala-${VALA_VER}.pc \
        ${STAGEDIR}${PREFIX}/libdata/pkgconfig/vala-1.0.pc

.include <bsd.port.mk>