2008-12-14 11:35:10 +01:00
|
|
|
# New ports collection makefile for: wmfs
|
|
|
|
# Date created: 08 December 2008
|
|
|
|
# Whom: Dennis Herrmann <adox@mcx2.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wmfs
|
2010-11-26 13:52:01 +01:00
|
|
|
DISTVERSION= 201011
|
2008-12-14 11:35:10 +01:00
|
|
|
CATEGORIES= x11-wm
|
2010-11-26 13:52:01 +01:00
|
|
|
MASTER_SITES= http://wmfs.info/attachments/download/15/ \
|
|
|
|
http://cloud.github.com/downloads/philpep/wmfs/
|
2008-12-14 11:35:10 +01:00
|
|
|
|
2009-03-06 19:14:36 +01:00
|
|
|
MAINTAINER= dhn@FreeBSD.org
|
2008-12-14 11:35:10 +01:00
|
|
|
COMMENT= A floating and tiling Window Manager From Scratch
|
|
|
|
|
2010-11-26 13:52:01 +01:00
|
|
|
LICENCE= BSD
|
|
|
|
|
2010-01-25 10:38:22 +01:00
|
|
|
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
|
2008-12-14 11:35:10 +01:00
|
|
|
|
|
|
|
USE_GNOME= pkgconfig
|
|
|
|
USE_XORG= x11 xft xpm
|
2010-11-26 13:52:01 +01:00
|
|
|
HAS_CONFIGURE= yes
|
2008-12-14 11:35:10 +01:00
|
|
|
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
|
|
|
PLIST_FILES= bin/wmfs \
|
|
|
|
etc/xdg/wmfs/wmfsrc \
|
2010-11-26 13:52:01 +01:00
|
|
|
share/xsessions/wmfs.desktop
|
|
|
|
|
|
|
|
PLIST_DIRS= etc/xdg/wmfs etc/xdg share/xsessions
|
2008-12-14 11:35:10 +01:00
|
|
|
|
2010-11-26 13:52:01 +01:00
|
|
|
OPTIONS= XRANDR "Enable xrandr support" on \
|
|
|
|
XINERAMA "Enable xinerama support" on \
|
|
|
|
IMLIB "Enable Imlib2 support" on
|
2010-03-28 22:04:18 +02:00
|
|
|
|
2008-12-14 11:35:10 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-11-26 13:52:01 +01:00
|
|
|
CONFIGURE_ARGS= --prefix ${PREFIX} \
|
|
|
|
--man-prefix ${MANPREFIX}/man \
|
|
|
|
--xdg-config-dir ${PREFIX}/etc/xdg
|
|
|
|
|
|
|
|
.if defined(WITH_XRANDR)
|
|
|
|
USE_XORG+= xrandr
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-xrandr
|
2010-03-28 22:04:18 +02:00
|
|
|
.endif
|
|
|
|
|
2010-11-26 13:52:01 +01:00
|
|
|
.if defined(WITH_XINERAMA)
|
|
|
|
USE_XORG+= xinerama
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-xinerama
|
|
|
|
.endif
|
2008-12-14 11:35:10 +01:00
|
|
|
|
2010-11-26 13:52:01 +01:00
|
|
|
.if defined(WITH_IMLIB)
|
|
|
|
USE_EFL+= imlib2
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-imlib2
|
2008-12-14 11:35:10 +01:00
|
|
|
.endif
|
|
|
|
|
2010-11-26 13:52:01 +01:00
|
|
|
post-install:
|
2008-12-14 11:35:10 +01:00
|
|
|
@${CAT} ${PKGMESSAGE} | ${SED} "s|PREFIX|${PREFIX}|g" \
|
2010-11-26 13:52:01 +01:00
|
|
|
${PKGDIR}/pkg-message
|
2008-12-14 11:35:10 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|