aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wmdrawer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/wmdrawer/Makefile')
-rw-r--r--x11/wmdrawer/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/wmdrawer/Makefile b/x11/wmdrawer/Makefile
index 05c48468797d..0da92bf6e50b 100644
--- a/x11/wmdrawer/Makefile
+++ b/x11/wmdrawer/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= wmdrawer
-PORTVERSION= 0.9.17.1
+PORTVERSION= 0.10.0
PORTREVISION= 2
CATEGORIES= x11 windowmaker
MASTER_SITES= http://people.easter-eggs.org/~valos/wmdrawer/:tarball \
@@ -26,13 +26,15 @@ USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GNOME= gtk20
USE_GMAKE= yes
-CFLAGS+= -I${LOCALBASE}/include
-MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" DOCSDIR=${DOCSDIR}
+CFLAGS+= -I${LOCALBASE}/include `gdk-pixbuf-config --cflags`
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt `gdk-pixbuf-config --libs` -lgdk_pixbuf_xlib" DOCSDIR=${DOCSDIR}
MANCOMPRESSED= yes
MAN1= wmdrawer.1x
post-patch:
+ @${REINPLACE_CMD} -e "s,/usr/X11R6,${X11BASE},g" ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e "s,$$[(]DESTDIR[)]/usr/local,${PREFIX},g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/wmdrawerrc.example
post-install: