aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/fvwm-crystal/Makefile
blob: b1c7f47b74444d2561c112d63326e971196fd88b (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
54
55
56
# 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:${PORTSDIR}/x11-wm/fvwm2 \
        bash:${PORTSDIR}/shells/bash

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

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:${PORTSDIR}/x11-fm/rox-filer
IMAGEMAGICK_RUN_DEPENDS=    display:${PORTSDIR}/graphics/ImageMagick
XSCREENSAVER_RUN_DEPENDS=   xscreensaver:${PORTSDIR}/x11/xscreensaver
TRAYER_RUN_DEPENDS= trayer:${PORTSDIR}/x11/trayer
SUDO_RUN_DEPENDS=   sudo:${PORTSDIR}/security/sudo
SETROOT_RUN_DEPENDS=    hsetroot:${PORTSDIR}/graphics/hsetroot
CMUS_RUN_DEPENDS=   cmus:${PORTSDIR}/audio/cmus

.include <bsd.port.options.mk>

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

.if ${PORT_OPTIONS:MDOCS}
INSTALL_TARGET= install install-doc
.endif

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>