aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/diacanvas
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 15:10:50 +0800
committerreg <reg@FreeBSD.org>2000-10-05 15:10:50 +0800
commit30fb8569371544b140cbfbe9d8d545a551b7a815 (patch)
treecf43db91e2cefcf20de68716f427d533c59601f6 /graphics/diacanvas
parentcea38f8422a3eeac06b3ce4a5828580a5812d2cc (diff)
downloadfreebsd-ports-gnome-30fb8569371544b140cbfbe9d8d545a551b7a815.tar.gz
freebsd-ports-gnome-30fb8569371544b140cbfbe9d8d545a551b7a815.tar.zst
freebsd-ports-gnome-30fb8569371544b140cbfbe9d8d545a551b7a815.zip
Implement USE_GNOME, part 1.
Diffstat (limited to 'graphics/diacanvas')
-rw-r--r--graphics/diacanvas/Makefile12
-rw-r--r--graphics/diacanvas/files/patch-ac11
-rw-r--r--graphics/diacanvas/pkg-plist3
3 files changed, 14 insertions, 12 deletions
diff --git a/graphics/diacanvas/Makefile b/graphics/diacanvas/Makefile
index 5901a5c78fc5..c3d6b751cfc5 100644
--- a/graphics/diacanvas/Makefile
+++ b/graphics/diacanvas/Makefile
@@ -12,17 +12,9 @@ MASTER_SITES= http://www.linuxstart.com/~arjan/diacanvas/download/
MAINTAINER= nakai@FreeBSD.org
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
USE_X_PREFIX= yes
+USE_GNOME= yes
+USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GTK_CONFIG="${GTK_CONFIG}" \
- LIBS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>
diff --git a/graphics/diacanvas/files/patch-ac b/graphics/diacanvas/files/patch-ac
new file mode 100644
index 000000000000..01c47d384a78
--- /dev/null
+++ b/graphics/diacanvas/files/patch-ac
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Sun Feb 27 15:26:48 2000
++++ Makefile.in Sun Feb 27 15:27:02 2000
+@@ -101,7 +101,7 @@
+ EXTRA_DIST = diacanvas.m4 TODO BUGS
+
+
+-m4datadir = $(datadir)/aclocal
++m4datadir = $(prefix)/share/aclocal
+ m4data_DATA = diacanvas.m4
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff --git a/graphics/diacanvas/pkg-plist b/graphics/diacanvas/pkg-plist
index 7279605a1ba7..5dc17d7de293 100644
--- a/graphics/diacanvas/pkg-plist
+++ b/graphics/diacanvas/pkg-plist
@@ -31,8 +31,7 @@ include/diacanvas/diarenderergdk.h
include/diacanvas/diatool.h
include/diacanvas/geometry.h
lib/libdiacanvas.a
-lib/libdiacanvas.la
lib/libdiacanvas.so
lib/libdiacanvas.so.1
-share/gnome/aclocal/diacanvas.m4
+share/aclocal/diacanvas.m4
@dirrm include/diacanvas