aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/beryl-core/Makefile
blob: 06bf200c91570cf5d2fcb4c095348089f6e0b0c3 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# New ports collection makefile for:    beryl-core
# Date created:             Oct 29 2006
# Whom:                 Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   beryl-core
PORTVERSION=    0.2.1
PORTREVISION=   2
CATEGORIES= x11-wm
MASTER_SITES=   http://releases.beryl-project.org/${PORTVERSION}/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= flz/beryl/

MAINTAINER= rnoland@2hip.net
COMMENT=    Beryl Composite/Window Manager

LIB_DEPENDS=    png.5:${PORTSDIR}/graphics/png \
        startup-notification-1.0:${PORTSDIR}/x11/startup-notification
RUN_DEPENDS=    bash:${PORTSDIR}/shells/bash
BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser

GNU_CONFIGURE=  yes
USE_GL=     gl
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack glib20 gconf2
USE_GETTEXT=    yes
USE_LDCONFIG=   yes
USE_PERL5=  yes

DEPRECATED= No longer supported - Use compiz
EXPIRATION_DATE=    2008-08-02

CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=    --disable-berylmesa
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib  ${PTHREAD_LIBS}"

USE_XORG=   xcomposite xfixes xdamage xrandr ice sm xinerama glproto

MAN1=       beryl.1         \
        beryl-xgl.1     \
        beryl-settings-dump.1

MAN3=       beryl_settings_context_new.3                \
        beryl_settings_context_destroy.3            \
        beryl_settings_context_find_plugin.3            \
        beryl_settings_context_find_setting.3           \
        beryl_settings_context_read.3               \
        beryl_settings_context_write.3              \
        beryl_settings_context_comp_new.3           \
        beryl_settings_context_comp_add_plugin.3        \
        beryl_settings_context_comp_add_option.3        \
        beryl_settings_context_comp_get_option_value.3      \
        beryl_settings_context_comp_set_option_value.3      \
        beryl_settings_send_reload_signal.3         \
        beryl_setting_reset_to_default.3            \
        beryl_setting_list_clear.3              \
        beryl_setting_list_append.3             \
        beryl_setting_list_length.3             \
        beryl_setting_list_value_index.3            \
        beryl_setting_list_value_swap_with.3            \
        beryl_setting_list_value_move_before.3          \
        beryl_setting_list_value_remove.3           \
        beryl_setting_get_primary_value.3           \
        beryl_setting_value_get_int.3               \
        beryl_setting_value_get_float.3             \
        beryl_setting_value_get_bool.3              \
        beryl_setting_value_get_string.3            \
        beryl_setting_value_get_keysym.3            \
        beryl_setting_value_get_keymods.3           \
        beryl_setting_value_get_button.3            \
        beryl_setting_value_get_buttonmods.3            \
        beryl_setting_value_get_bell.3              \
        beryl_setting_value_get_edgemask.3          \
        beryl_setting_value_get_key_enabled.3           \
        beryl_setting_get_int_min.3             \
        beryl_setting_value_get_button_enabled.3        \
        beryl_setting_value_get_color.3             \
        beryl_setting_value_get_value_list.3            \
        beryl_setting_value_set_int.3               \
        beryl_setting_value_set_float.3             \
        beryl_setting_value_set_bool.3              \
        beryl_setting_value_set_string.3            \
        beryl_setting_value_set_keysym.3            \
        beryl_setting_value_set_keymods.3           \
        beryl_setting_value_set_button.3            \
        beryl_setting_value_set_buttonmods.3            \
        beryl_setting_value_set_bell.3              \
        beryl_setting_value_set_edgemask.3          \
        beryl_setting_value_set_key_enabled.3           \
        beryl_setting_value_set_button_enabled.3        \
        beryl_setting_value_set_color.3             \
        beryl_setting_get_can_set_key.3             \
        beryl_setting_get_can_set_button.3          \
        beryl_setting_get_can_set_edgemask.3            \
        beryl_setting_get_can_set_bell.3            \
        beryl_setting_get_allowed_strings.3         \
        beryl_setting_get_int_max.3             \
        beryl_setting_get_float_min.3               \
        beryl_setting_get_float_max.3               \
        beryl_setting_get_float_precision.3         \
        beryl_setting_get_list_type.3               \
        beryl_setting_get_type.3                \
        beryl_setting_get_short_desc.3              \
        beryl_setting_get_long_desc.3               \
        beryl_setting_get_name.3                \
        beryl_settings_plugin_get_short_desc.3          \
        beryl_settings_plugin_get_long_desc.3           \
        beryl_settings_plugin_get_name.3            \
        beryl_settings_context_get_plugins.3            \
        beryl_settings_plugin_get_settings.3            \
        beryl_settings_context_get_private.3            \
        beryl_settings_plugin_get_private.3         \
        beryl_setting_get_private.3             \
        beryl_settings_context_set_private.3            \
        beryl_settings_plugin_set_private.3         \
        beryl_setting_set_private.3             \
        beryl_settings_set_codeset.3

post-patch:
    @${REINPLACE_CMD} -e 's|libpng|libpng12|' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|.[(]top_srcdir[)]/mesa/lib/libGL.a |-lGL |' \
        -e 's|.[(]top_srcdir[)]/mesa/lib/libGL.a|-lGL|'         \
            ${WRKSRC}/src/Makefile.in
    @${REINPLACE_CMD} -e 's|\(Libs.*\)|\1 -lGL|' ${WRKSRC}/beryl.pc.in
    @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|'             \
            ${WRKSRC}/libberylsettings/main.c           \
            ${WRKSRC}/src/plugin.c                  \
            ${WRKSRC}/src/display_options.c             \
            ${WRKSRC}/settings-backends/ini.c           \
            ${WRKSRC}/settings-backends/gconf.c

.include <bsd.port.mk>