aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/vdkbuilder/Makefile
blob: 28ffea00e8cc309a1f013b63913e46b26214ad5e (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
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:   vdkbuilder
# Date created:        29 January 2000
# Whom:                Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   vdkbuilder
PORTVERSION=    1.2.3
CATEGORIES= x11-toolkits
MASTER_SITES=   http://download.sourceforge.net/vdkbuilder/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A general ide tool for GTK+/VDK

LIB_DEPENDS=    vdk.3:${PORTSDIR}/x11-toolkits/vdk

USE_GMAKE=  yes
USE_X_PREFIX=   yes
USE_GNOME=  gtk12
WANT_GNOME= yes
USE_LIBTOOL=    yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib -lgnuregex"

.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mgnomelibs}!=""
USE_GNOME+= gnomeprefix gnomehack gnomelibs
CONFIGURE_ARGS+=--enable-gnome
PKGNAMESUFFIX=  -gnome
PLIST_SUB=  DATADIR="share/gnome"
.else
CONFIGURE_ARGS+=--enable-gnome=no
PLIST_SUB=  DATADIR="share"
.endif

.include <bsd.port.post.mk>