aboutsummaryrefslogtreecommitdiff
path: root/x11/wmdrawer
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-07 18:30:47 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-07 18:30:47 +0000
commit52a77a62809567dee37ed2b3f7f201d59aea3893 (patch)
tree9d797804d99d10d73d4c0c74bfa925c94daa9ed2 /x11/wmdrawer
parent0ded70bb851ccd1ff6f02a0273bce0a6e498f2ed (diff)
downloadports-52a77a62809567dee37ed2b3f7f201d59aea3893.tar.gz
ports-52a77a62809567dee37ed2b3f7f201d59aea3893.zip
Notes
Diffstat (limited to 'x11/wmdrawer')
-rw-r--r--x11/wmdrawer/Makefile6
-rw-r--r--x11/wmdrawer/files/patch-Makefile8
2 files changed, 10 insertions, 4 deletions
diff --git a/x11/wmdrawer/Makefile b/x11/wmdrawer/Makefile
index a3d712393380..7896e3e6ecc2 100644
--- a/x11/wmdrawer/Makefile
+++ b/x11/wmdrawer/Makefile
@@ -8,16 +8,20 @@
PORTNAME= wmdrawer
PORTVERSION= 0.9.17.1
+PORTREVISION= 1
CATEGORIES= x11 windowmaker
MASTER_SITES= http://people.easter-eggs.org/~valos/wmdrawer/
MAINTAINER= ports@FreeBSD.org
COMMENT= A dockapp which provides a drawer to launch applications
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
USE_X_PREFIX= yes
USE_GNOME= gtk20
USE_GMAKE= yes
-MAKE_ENV= DOCSDIR=${DOCSDIR}
+CFLAGS+= -I${LOCALBASE}/include
+MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" DOCSDIR=${DOCSDIR}
MANCOMPRESSED= yes
MAN1= wmdrawer.1x
diff --git a/x11/wmdrawer/files/patch-Makefile b/x11/wmdrawer/files/patch-Makefile
index dafc80cca518..e9dbf2bea460 100644
--- a/x11/wmdrawer/files/patch-Makefile
+++ b/x11/wmdrawer/files/patch-Makefile
@@ -1,5 +1,5 @@
--- Makefile.orig Fri Mar 28 01:08:16 2003
-+++ Makefile Sun Apr 6 12:31:26 2003
++++ Makefile Tue Apr 8 02:27:07 2003
@@ -3,13 +3,13 @@
DESTDIR =
@@ -19,15 +19,17 @@
ifdef USE_GDKPIXBUF
PIXBUF_DEF = -DUSE_GDKPIXBUF
-@@ -19,7 +19,7 @@
+@@ -19,8 +19,8 @@
ifdef USE_GDKPIXBUF2
PIXBUF_DEF = -DUSE_GDKPIXBUF2
-CFLAGS = -O3 -Wall `pkg-config --cflags gdk-pixbuf-xlib-2.0` -I/usr/X11R6/include
+-LDFLAGS = `pkg-config --libs gdk-pixbuf-xlib-2.0` -rdynamic -lX11 -lXi -lXext -L/usr/X11R6/lib
+CFLAGS += `pkg-config --cflags gdk-pixbuf-xlib-2.0` -I/usr/X11R6/include
- LDFLAGS = `pkg-config --libs gdk-pixbuf-xlib-2.0` -rdynamic -lX11 -lXi -lXext -L/usr/X11R6/lib
++LDFLAGS += `pkg-config --libs gdk-pixbuf-xlib-2.0` -rdynamic -lX11 -lXi -lXext -L/usr/X11R6/lib
endif
+ PRGS = wmdrawer
@@ -40,10 +40,10 @@
$(RM) *.o $(PRGS)