2000-01-31 04:52:18 +01:00
|
|
|
# New ports collection makefile for: vdk
|
|
|
|
# Date created: 30 January 2000
|
|
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-10 03:11:24 +02:00
|
|
|
PORTNAME= vdk
|
2005-06-05 15:34:20 +02:00
|
|
|
PORTVERSION= 2.4.1
|
2006-02-23 11:40:44 +01:00
|
|
|
PORTREVISION= 3
|
2000-01-31 04:52:18 +01:00
|
|
|
CATEGORIES= x11-toolkits
|
2001-05-23 08:57:15 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2004-09-24 03:04:01 +02:00
|
|
|
MASTER_SITE_SUBDIR= vdklib
|
2000-01-31 04:52:18 +01:00
|
|
|
|
2003-11-03 02:19:26 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= C++ wrapper for GTK+ toolkit
|
2000-01-31 04:52:18 +01:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2005-06-05 15:34:20 +02:00
|
|
|
USE_GNOME= gnomehack gnometarget gtk20
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-06-05 15:34:20 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2004-09-24 03:04:01 +02:00
|
|
|
CONFIGURE_ARGS= --enable-opt=no --enable-doc-html=no --enable-testvdk=no
|
2006-08-15 03:13:42 +02:00
|
|
|
USE_LDCONFIG= yes
|
2000-01-31 04:52:18 +01:00
|
|
|
|
2003-11-19 17:12:16 +01:00
|
|
|
MAN1= vdk-config-2.1
|
2000-01-31 04:52:18 +01:00
|
|
|
|
2005-06-05 15:34:20 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -lgnuregex ${PTHREAD_LIBS}
|
|
|
|
|
2003-11-19 17:12:16 +01:00
|
|
|
post-patch:
|
2005-06-05 15:34:20 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|CXXFLAGS="-s"|CXXFLAGS="$$CXXFLAGS"|g' ${WRKSRC}/configure
|
|
|
|
.for file in vdk-config-2.in vdk-2.x.pc.in
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${LDFLAGS}|g' ${WRKSRC}/${file}
|
|
|
|
.endfor
|
2003-11-19 17:12:16 +01:00
|
|
|
.for file in vdk/FileDialog.h vdk/gtksourcebuffer.h vdk/gtksourcetag.h
|
|
|
|
@${REINPLACE_CMD} -e 's|<regex\.h>|<gnuregex.h>|g' ${WRKSRC}/${file}
|
|
|
|
.endfor
|
2000-10-05 09:22:56 +02:00
|
|
|
|
2003-11-19 17:12:16 +01:00
|
|
|
.include <bsd.port.mk>
|