aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/vdkbuilder/Makefile
blob: 4a451ab0acab1aec580b38e4f55fea3eb0726692 (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=    2.4.0
PORTREVISION=   3
CATEGORIES= x11-toolkits
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}2-${PORTVERSION}

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

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

USE_X_PREFIX=   yes
USE_GNOME=  gnometarget gtk20
USE_REINPLACE=  yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-opt=no
INSTALLS_SHLIB= yes

MAN1=       vdkb2.1

post-patch:
    @${REINPLACE_CMD} -e \
        's|cflag="-s"|cflag="$$CXXFLAGS"|g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e \
        's|: install-IconsDATA|:|g' ${WRKSRC}/data/res/Makefile.in

.include <bsd.port.mk>