aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-02-14 14:28:29 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-02-14 14:28:29 +0000
commitbeefd966b2dad2d0cc6f7e09fc7558a39c779450 (patch)
tree4d62fac65ee10241aaa8c2d0b1091257bb8de119
parenta021f2cad5e80974c7b6e02a8b141c2585f88f20 (diff)
downloadports-beefd966b2dad2d0cc6f7e09fc7558a39c779450.tar.gz
ports-beefd966b2dad2d0cc6f7e09fc7558a39c779450.zip
Notes
-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/