aboutsummaryrefslogtreecommitdiff
path: root/graphics/gcolor
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
commitfda2e985daa21bcac7cf4e4882e560933d7ad5e8 (patch)
tree4ccb4a868e97ff347416395233e3825776b24951 /graphics/gcolor
parentd0cdca8bc326260560504ebb5d4b206942ca5125 (diff)
Implement USE_GTK, part 1.
Notes
Notes: svn path=/head/; revision=33424
Diffstat (limited to 'graphics/gcolor')
-rw-r--r--graphics/gcolor/Makefile13
-rw-r--r--graphics/gcolor/pkg-comment2
2 files changed, 9 insertions, 6 deletions
diff --git a/graphics/gcolor/Makefile b/graphics/gcolor/Makefile
index cbbeaaba9ddc..ae28b6392d22 100644
--- a/graphics/gcolor/Makefile
+++ b/graphics/gcolor/Makefile
@@ -7,17 +7,20 @@
PORTNAME= gcolor
PORTVERSION= 0.4
-CATEGORIES= graphics gnome x11
+CATEGORIES= graphics x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs
-
USE_X_PREFIX= yes
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+USE_GTK= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/graphics/gcolor/pkg-comment b/graphics/gcolor/pkg-comment
index 1926879f1673..33e13d8dee22 100644
--- a/graphics/gcolor/pkg-comment
+++ b/graphics/gcolor/pkg-comment
@@ -1 +1 @@
-GNOME-based color picker
+GTK-based color picker