aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-02-14 22:28:29 +0800
committergahr <gahr@FreeBSD.org>2014-02-14 22:28:29 +0800
commit1bebba728b302452efa9ff1dd7aa568e9065c97d (patch)
tree4d62fac65ee10241aaa8c2d0b1091257bb8de119
parent51c1288426d9cdadaae259f0819aa0190228838c (diff)
downloadfreebsd-ports-gnome-1bebba728b302452efa9ff1dd7aa568e9065c97d.tar.gz
freebsd-ports-gnome-1bebba728b302452efa9ff1dd7aa568e9065c97d.tar.zst
freebsd-ports-gnome-1bebba728b302452efa9ff1dd7aa568e9065c97d.zip
- STAGE-clean
-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/