3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
38 lines
961 B
Makefile
38 lines
961 B
Makefile
# New ports collection makefile for: vdk
|
|
# Date created: 30 January 2000
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= vdk
|
|
PORTVERSION= 2.0.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= vdkbuilder
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= C++ wrapper for GTK+ toolkit
|
|
|
|
USE_X_PREFIX= yes
|
|
WANT_GNOME= yes
|
|
USE_GNOME= gnometarget gtk20
|
|
USE_REINPLACE= yes
|
|
USE_LIBTOOL_VER=13
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -lgnuregex ${PTHREAD_LIBS}"
|
|
CONFIGURE_ARGS= --enable-opt=no --enable-doc-html=no
|
|
INSTALLS_SHLIB= yes
|
|
|
|
MAN1= vdk-config-2.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
.for file in vdk/FileDialog.h vdk/gtksourcebuffer.h vdk/gtksourcetag.h
|
|
@${REINPLACE_CMD} -e 's|<regex\.h>|<gnuregex.h>|g' ${WRKSRC}/${file}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|