aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-wm/flwm/Makefile11
-rw-r--r--x11-wm/flwm/pkg-descr2
2 files changed, 9 insertions, 4 deletions
diff --git a/x11-wm/flwm/Makefile b/x11-wm/flwm/Makefile
index 90e7fc190be9..76dac6819d4f 100644
--- a/x11-wm/flwm/Makefile
+++ b/x11-wm/flwm/Makefile
@@ -11,19 +11,22 @@ EXTRACT_SUFX= .tgz
MAINTAINER= gahr@FreeBSD.org
COMMENT= The Fast Light Window Manager
-LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
+LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk-devel
USE_XORG= x11 xt
GNU_CONFIGURE= yes
CFLAGS+= -DFL_LIBRARY
-MAN1= flwm.1
-PLIST_FILES= bin/flwm
+PLIST_FILES= bin/flwm \
+ man/man1/flwm.1.gz
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g; /^main/s|^|int |g' ${WRKSRC}/${CONFIGURE_SCRIPT}
${REINPLACE_CMD} -e 's|^LIBS =.*|LIBS = `fltk-config --ldflags`|' ${WRKSRC}/Makefile
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/flwm ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/flwm.1 ${STAGEDIR}${PREFIX}/man/man1
+
.include <bsd.port.mk>
diff --git a/x11-wm/flwm/pkg-descr b/x11-wm/flwm/pkg-descr
index b5360a4967c3..de4b7f778436 100644
--- a/x11-wm/flwm/pkg-descr
+++ b/x11-wm/flwm/pkg-descr
@@ -1,2 +1,4 @@
Flwm is a very small and fast X window manager. Its main features are
the lack of icons and the "sideways" title-bars.
+
+WWW: http://flwm.sourceforge.net/