2001-12-13 02:55:45 +00:00
|
|
|
# New ports collection makefile for: fluxbox
|
|
|
|
# Date created: 29 November 2001
|
|
|
|
# Whom: spn
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fluxbox
|
2003-01-01 22:04:28 +00:00
|
|
|
PORTVERSION= 0.1.14
|
2003-04-11 16:45:18 +00:00
|
|
|
PORTREVISION= 2
|
2001-12-13 02:55:45 +00:00
|
|
|
CATEGORIES= x11-wm
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2002-11-26 00:03:20 +00:00
|
|
|
.if defined(WITH_REMEMBER)
|
2003-01-01 22:04:28 +00:00
|
|
|
PATCH_SITES= http://www.bugfactory.org/~gav/fluxbox/
|
|
|
|
PATCH_DIST_STRIP= -p1
|
2003-04-11 16:45:18 +00:00
|
|
|
PATCHFILES= remember-0.1.14-7.gz
|
2003-01-19 17:09:38 +00:00
|
|
|
.endif
|
|
|
|
|
2002-06-08 00:12:29 +00:00
|
|
|
MAINTAINER= hendrik@scholz.net
|
2003-02-21 14:19:11 +00:00
|
|
|
COMMENT= A small and fast window manager based on BlackBox
|
2001-12-13 02:55:45 +00:00
|
|
|
|
2004-03-16 22:54:05 +00:00
|
|
|
LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft
|
2002-11-26 00:03:20 +00:00
|
|
|
RUN_DEPENDS= bsetbg:${PORTSDIR}/x11-wm/boxtools \
|
|
|
|
xterm:${PORTSDIR}/x11/XFree86-4-clients
|
|
|
|
BUILD_DEPENDS= xterm:${PORTSDIR}/x11/XFree86-4-clients
|
2002-11-24 22:07:56 +00:00
|
|
|
.if defined(WITH_REMEMBER)
|
2002-11-26 00:03:20 +00:00
|
|
|
BUILD_DEPENDS+= automake14:${PORTSDIR}/devel/automake14
|
2002-11-24 22:07:56 +00:00
|
|
|
.endif
|
2002-10-08 23:06:44 +00:00
|
|
|
|
2001-12-13 02:55:45 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2002-11-03 16:23:35 +00:00
|
|
|
WANT_GNOME= yes
|
2002-11-24 22:07:56 +00:00
|
|
|
.if defined(WITH_REMEMBER)
|
|
|
|
USE_GMAKE= yes
|
2003-01-01 22:04:28 +00:00
|
|
|
CONFIGURE_ENV= AUTOMAKE=automake14
|
2002-11-24 22:07:56 +00:00
|
|
|
.endif
|
2002-11-23 01:36:07 +00:00
|
|
|
CONFIGURE_ARGS= --disable-newwmspec
|
2002-11-03 16:23:35 +00:00
|
|
|
.if defined(WITH_KDE) || defined(PACKAGE_BUILDING)
|
|
|
|
CONFIGURE_ARGS+= --enable-kde
|
|
|
|
.endif
|
|
|
|
.if defined(WITH_XINERAMA) || defined(PACKAGE_BUILDING)
|
2002-10-10 15:38:38 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-xinerama
|
|
|
|
.endif
|
|
|
|
|
2002-11-03 16:23:35 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-01-21 08:29:28 +00:00
|
|
|
.if ${OSVERSION} >= 500000
|
|
|
|
.undef WITH_WINSNAP
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_WINSNAP)
|
|
|
|
PATCH_SITES+= http://www.raisdorf.net/files/FreeBSD/
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
PATCHFILES+= winsnap-0.1.14.patch
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAN1= fluxbox.1
|
|
|
|
|
2002-11-03 16:23:35 +00:00
|
|
|
.if ${HAVE_GNOME:Mgnomelibs}!="" || defined(PACKAGE_BUILDING)
|
|
|
|
CONFIGURE_ARGS+= --enable-gnome
|
|
|
|
.endif
|
|
|
|
|
2003-02-28 22:53:02 +00:00
|
|
|
pre-everything::
|
2002-11-03 16:23:35 +00:00
|
|
|
@${ECHO_CMD} ""
|
|
|
|
@${ECHO_CMD} "Definable build options"
|
|
|
|
@${ECHO_CMD} "-----------------------"
|
|
|
|
.if !defined(WITH_XINERAMA)
|
|
|
|
@${ECHO_CMD} "WITH_XINERAMA - Enable Xinerama support"
|
|
|
|
.endif
|
|
|
|
.if !defined(WITH_KDE)
|
|
|
|
@${ECHO_CMD} "WITH_KDE - Enable KDE slit support"
|
2002-11-24 22:07:56 +00:00
|
|
|
.endif
|
|
|
|
.if !defined(WITH_REMEMBER)
|
|
|
|
@${ECHO_CMD} "WITH_REMEMBER - Enable the unofficial remember patch"
|
2002-10-10 15:38:38 +00:00
|
|
|
.endif
|
2003-01-19 17:09:38 +00:00
|
|
|
.if !defined(WITH_WINSNAP)
|
|
|
|
@${ECHO_CMD} "WITH_WINSNAP - Enable the unofficial window snapping patch"
|
2003-01-21 08:29:28 +00:00
|
|
|
@${ECHO_CMD} " (does not work on -current)"
|
2003-01-19 17:09:38 +00:00
|
|
|
.endif
|
|
|
|
@${ECHO_CMD} ""
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if defined(WITH_WINSNAP)
|
|
|
|
@${ECHO_CMD} ""
|
|
|
|
@${ECHO_CMD} "The window snapping patch from Shawn Singh requires some"
|
|
|
|
@${ECHO_CMD} "changes to your ~/.fluxbox/init file:"
|
|
|
|
@${ECHO_CMD} ""
|
|
|
|
@${ECHO_CMD} " session.screen0.edgeSnapThreshold: 10"
|
|
|
|
@${ECHO_CMD} " session.screen0.edgeResistThreshold: 10"
|
2002-11-03 16:23:35 +00:00
|
|
|
@${ECHO_CMD} ""
|
2003-01-19 17:09:38 +00:00
|
|
|
@${ECHO_CMD} "The values can be changed to mimic the behavior of Enlightenment:"
|
|
|
|
@${ECHO_CMD} "snap: 3, resist: 15"
|
|
|
|
@${ECHO_CMD} ""
|
|
|
|
.endif
|
2002-10-10 15:38:38 +00:00
|
|
|
|
2002-11-03 16:23:35 +00:00
|
|
|
.include <bsd.port.post.mk>
|