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
|
2004-07-10 08:41:56 +02:00
|
|
|
PORTVERSION= 2.4.0
|
2005-03-12 11:54:27 +01:00
|
|
|
PORTREVISION= 2
|
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
|
2004-07-10 08:41:56 +02:00
|
|
|
USE_GNOME= gnometarget gtk20 lthack
|
2003-11-19 17:12:16 +01:00
|
|
|
USE_REINPLACE= yes
|
2005-06-03 22:18:13 +02:00
|
|
|
USE_LIBTOOL_VER=15
|
2003-11-19 17:12:16 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lgnuregex ${PTHREAD_LIBS}"
|
2004-09-24 03:04:01 +02:00
|
|
|
CONFIGURE_ARGS= --enable-opt=no --enable-doc-html=no --enable-testvdk=no
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= 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
|
|
|
|
2003-11-19 17:12:16 +01:00
|
|
|
post-patch:
|
2004-07-10 08:41:56 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|CXXFLAGS="-s"|CXXFLAGS="$$CXXFLAGS"|g ; \
|
|
|
|
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
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>
|