aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-02-28 07:57:29 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-02-28 07:57:29 +0000
commitf437d8592125aebd98e3f8454ef0c6ae1de9f24d (patch)
tree3089049aafde9f2a770bd21aca6543af2b1d9450 /x11-wm
parentaf33d1b40ce2aae3ad7f0d0bcf9ab2318e8f5dc1 (diff)
downloadports-f437d8592125aebd98e3f8454ef0c6ae1de9f24d.tar.gz
ports-f437d8592125aebd98e3f8454ef0c6ae1de9f24d.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/wmfs/Makefile44
-rw-r--r--x11-wm/wmfs/pkg-plist1
2 files changed, 13 insertions, 32 deletions
diff --git a/x11-wm/wmfs/Makefile b/x11-wm/wmfs/Makefile
index 1c657e1e2029..f6722de89f87 100644
--- a/x11-wm/wmfs/Makefile
+++ b/x11-wm/wmfs/Makefile
@@ -9,50 +9,30 @@ MASTER_SITES= http://wmfs.info/attachments/download/45/ \
http://cloud.github.com/downloads/xorg62/wmfs/
MAINTAINER= dhn@FreeBSD.org
-COMMENT= A floating and tiling Window Manager From Scratch
+COMMENT= Floating and tiling Window Manager From Scratch
-LICENSE= BSD
+LICENSE= BSD3CLAUSE
-LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
+LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2
USES= pkgconfig
USE_XORG= x11 xft xpm
HAS_CONFIGURE= yes
-MAN1= ${PORTNAME}.1
-MANCOMPRESSED= yes
-
SUB_FILES= pkg-message
OPTIONS_DEFINE= XRANDR XINERAMA IMLIB
OPTIONS_DEFAULT= XRANDR XINERAMA IMLIB
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
CONFIGURE_ARGS= --prefix ${PREFIX} \
- --man-prefix ${MANPREFIX}/man \
- --xdg-config-dir ${PREFIX}/etc/xdg
-
-.if ${PORT_OPTIONS:MXRANDR}
-USE_XORG+= xrandr
-.else
-CONFIGURE_ARGS+= --without-xrandr
-.endif
-
-.if ${PORT_OPTIONS:MXINERAMA}
-USE_XORG+= xinerama
-.else
-CONFIGURE_ARGS+= --without-xinerama
-.endif
-
-.if ${PORT_OPTIONS:MIMLIB}
-USE_EFL+= imlib2
-.else
-CONFIGURE_ARGS+= --without-imlib2
-.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ --man-prefix ${MANPREFIX}/man \
+ --xdg-config-dir ${PREFIX}/etc/xdg
+
+XRANDR_USE= XORG=xrandr
+XRANDR_CONFIGURE_WITH+= xrandr
+XINERAMA_USE= XORG=xinerama
+XINERARAM_CONFIGURE_WITH= xinerama
+IMLIB_USE= EFL=imlib2
+IMLIB_CONFIGURE_WITH= imlib2
.include <bsd.port.mk>
diff --git a/x11-wm/wmfs/pkg-plist b/x11-wm/wmfs/pkg-plist
index 95ead49cf3b5..26beabbf2185 100644
--- a/x11-wm/wmfs/pkg-plist
+++ b/x11-wm/wmfs/pkg-plist
@@ -1,5 +1,6 @@
bin/wmfs
etc/xdg/wmfs/wmfsrc
+man/man1/wmfs.1.gz
share/xsessions/wmfs.desktop
@dirrm share/xsessions
@dirrm etc/xdg/wmfs