summaryrefslogtreecommitdiffstats
path: root/graphics/gtkgraph/Makefile
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 06:57:56 +0000
committerreg <reg@FreeBSD.org>2000-10-05 06:57:56 +0000
commitcea38f8422a3eeac06b3ce4a5828580a5812d2cc (patch)
tree9703d7928f2f462fdf308bf7d14164f8f8459828 /graphics/gtkgraph/Makefile
parent4495def283d3b8c777e1eb5b958cedb25b1aa16b (diff)
downloadFreeBSD-ports-cea38f8422a3eeac06b3ce4a5828580a5812d2cc.zip
FreeBSD-ports-cea38f8422a3eeac06b3ce4a5828580a5812d2cc.tar.gz
Implement WANT_IMLIB and USE_IMLIB.
Diffstat (limited to 'graphics/gtkgraph/Makefile')
-rw-r--r--graphics/gtkgraph/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/graphics/gtkgraph/Makefile b/graphics/gtkgraph/Makefile
index fcea058..713f81a 100644
--- a/graphics/gtkgraph/Makefile
+++ b/graphics/gtkgraph/Makefile
@@ -12,21 +12,17 @@ MASTER_SITES= http://gtkgraph.linuxave.net/
MAINTAINER= jedgar@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
- intl.1:${PORTSDIR}/devel/gettext \
- gdk_imlib.5:${PORTSDIR}/graphics/imlib
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
-USE_GMAKE= yes
USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_IMLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-x
-CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
- GTK_CONFIG="${GTK_CONFIG}" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-pre-configure:
- @${PERL} -pi.orig -e 's|-O2|${CFLAGS}|' ${WRKSRC}/configure
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; s|-O2|${CFLAGS}| ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
.include <bsd.port.mk>
OpenPOWER on IntegriCloud