aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/fvwm-crystal/Makefile
blob: c81ef6c1d923ad7bc1f7b3ee2e3ecad7c121af71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Created by: Giacomo Mariani <giacomomariani@yahoo.it>
# $FreeBSD$

PORTNAME=	fvwm-crystal
PORTVERSION=	3.0.6
PORTREVISION=	8
CATEGORIES=	x11-wm
MASTER_SITES=	http://download.gna.org/fvwm-crystal/${PORTVERSION}/

MAINTAINER=	giacomomariani@yahoo.it
COMMENT=	Easy, eye-candy, light, and powerful window manager for X11

RUN_DEPENDS=	fvwm>=2.5:x11-wm/fvwm2 \
		bash:shells/bash

USES=		gettext gmake python shebangfix
SHEBANG_FILES=	addons/* bin/* fvwm/scripts/speed_value
MAKE_ENV=	prefix="${PREFIX}" addondir="${DOCSDIR}/addons"
PORTDOCS=	*
INSTALL_TARGET=	install
NO_ARCH=	yes

OPTIONS_DEFINE=	ROX IMAGEMAGICK XSCREENSAVER TRAYER SUDO HSETROOT CMUS DOCS
OPTIONS_DEFAULT=	ROX IMAGEMAGICK XSCREENSAVER TRAYER SUDO HSETROOT

ROX_DESC=		Rox-filer file manager support
IMAGEMAGICK_DESC=	Window thumbnails and screenshots support
XSCREENSAVER_DESC=	Desktop screensaver support
TRAYER_DESC=		Tray (notification area) support
SUDO_DESC=		Run text-based applications as superuser
HSETROOT_DESC=		Allow to set desktop wallpaper
CMUS_DESC=		Play music via audio/cmus player
MROX_RUN_DEPENDS=	rox:x11-fm/rox-filer
IMAGEMAGICK_RUN_DEPENDS=	display:graphics/ImageMagick
XSCREENSAVER_RUN_DEPENDS=	xscreensaver:x11/xscreensaver
TRAYER_RUN_DEPENDS=	trayer:x11/trayer
SUDO_RUN_DEPENDS=	sudo:security/sudo
SETROOT_RUN_DEPENDS=	hsetroot:graphics/hsetroot
CMUS_RUN_DEPENDS=	cmus:audio/cmus
DOCS_INSTALL_TARGET=	install-doc

post-extract:
	@cd ${WRKSRC} && ${FIND} . -depth -type d -name .svn \
		-exec ${RM} -rf {} \;

post-patch:
	@${REINPLACE_CMD} -e 's|cp -r -d|cp -r|; s|cp -d|cp|' \
		${WRKSRC}/${MAKEFILE}
scrivi:
	${ECHO_CMD} ${LOCALBASE}
	${ECHO_CMD} ${PREFIX}

.include <bsd.port.mk>