summaryrefslogtreecommitdiff
path: root/x11-toolkits/vdk
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 07:22:56 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 07:22:56 +0000
commit7b4c77811e89d7fc1131ca6e63df3e719bc86b1d (patch)
tree9695733a1620c4c290c86f161a4f1b73160ed39a /x11-toolkits/vdk
parentImplement USE_GNOME, part 2. (diff)
Implement WANT_GNOME.
Notes
Notes: svn path=/head/; revision=33430
Diffstat (limited to 'x11-toolkits/vdk')
-rw-r--r--x11-toolkits/vdk/Makefile18
-rw-r--r--x11-toolkits/vdk/files/patch-aa11
-rw-r--r--x11-toolkits/vdk/pkg-plist3
3 files changed, 22 insertions, 10 deletions
diff --git a/x11-toolkits/vdk/Makefile b/x11-toolkits/vdk/Makefile
index ef2487324a6e..7a61bba5a5d6 100644
--- a/x11-toolkits/vdk/Makefile
+++ b/x11-toolkits/vdk/Makefile
@@ -12,18 +12,22 @@ MASTER_SITES= http://download.sourceforge.net/vdkbuilder/
MAINTAINER= nakai@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
USE_NEWGCC= yes
USE_X_PREFIX= yes
+USE_GTK= yes
+WANT_GNOME= yes
+USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
-GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
MAN1= vdk-config.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_GNOME)
+USE_GNOME= yes
+CONFIGURE_ARGS+= --enable-gnome
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11-toolkits/vdk/files/patch-aa b/x11-toolkits/vdk/files/patch-aa
new file mode 100644
index 000000000000..5e288ffe0cbf
--- /dev/null
+++ b/x11-toolkits/vdk/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Sun Feb 27 20:55:41 2000
++++ Makefile.in Sun Feb 27 20:55:56 2000
+@@ -129,7 +129,7 @@
+ EXTRA_DIST = autogen.sh configure aclocal.m4 BUGS
+
+
+-m4datadir = $(datadir)/aclocal
++m4datadir = $(prefix)/share/aclocal
+ m4data_DATA = vdk.m4
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff --git a/x11-toolkits/vdk/pkg-plist b/x11-toolkits/vdk/pkg-plist
index 8ea69586fe80..60b8a0e218cc 100644
--- a/x11-toolkits/vdk/pkg-plist
+++ b/x11-toolkits/vdk/pkg-plist
@@ -104,15 +104,12 @@ include/vdk/vdktypes.h
include/vdk/vdkutils.h
include/vdk/widcontain.h
lib/libvdk.a
-lib/libvdk.la
lib/libvdk.so
lib/libvdk.so.3
lib/libvdkcompo.a
-lib/libvdkcompo.la
lib/libvdkcompo.so
lib/libvdkcompo.so.3
lib/libvdkgnome.a
-lib/libvdkgnome.la
lib/libvdkgnome.so
lib/libvdkgnome.so.3
share/aclocal/vdk.m4