Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= compiz |
3 |
PORTNAME= compiz |
4 |
PORTVERSION= 0.8.8 |
4 |
PORTVERSION= 0.8.8 |
5 |
PORTREVISION= 5 |
5 |
PORTREVISION= 6 |
6 |
CATEGORIES= x11-wm |
6 |
CATEGORIES= x11-wm |
7 |
MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/ |
7 |
MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/ |
8 |
|
8 |
|
Lines 9-16
Link Here
|
9 |
MAINTAINER= freebsd-ports@dan.me.uk |
9 |
MAINTAINER= freebsd-ports@dan.me.uk |
10 |
COMMENT= Compiz Composite/Window Manager |
10 |
COMMENT= Compiz Composite/Window Manager |
11 |
|
11 |
|
12 |
LIB_DEPENDS= libpng.so:graphics/png \ |
12 |
LICENSE= GPLv2+ LGPL21+ MIT |
|
|
13 |
LICENSE_COMB= multi |
14 |
LICENSE_FILE_GPLv2+= ${WRKSRC}/COPYING.GPL |
15 |
LICENSE_FILE_LGPL21+= ${WRKSRC}/COPYING.LGPL |
16 |
LICENSE_FILE_MIT= ${WRKSRC}/COPYING.MIT |
17 |
|
18 |
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ |
19 |
libfreetype.so:print/freetype2 \ |
13 |
libgtop-2.0.so:devel/libgtop \ |
20 |
libgtop-2.0.so:devel/libgtop \ |
|
|
21 |
libpng.so:graphics/png \ |
14 |
libstartup-notification-1.so:x11/startup-notification |
22 |
libstartup-notification-1.so:x11/startup-notification |
15 |
RUN_DEPENDS= glxinfo:graphics/mesa-demos \ |
23 |
RUN_DEPENDS= glxinfo:graphics/mesa-demos \ |
16 |
nvidia-settings:x11/nvidia-settings |
24 |
nvidia-settings:x11/nvidia-settings |
Lines 18-28
Link Here
|
18 |
XORG_CAT= app |
26 |
XORG_CAT= app |
19 |
GNU_CONFIGURE= yes |
27 |
GNU_CONFIGURE= yes |
20 |
INSTALL_TARGET= install-strip |
28 |
INSTALL_TARGET= install-strip |
21 |
USES= gettext gmake libtool pathfix tar:bzip2 |
29 |
USES= gmake libtool pathfix tar:bzip2 |
22 |
USE_GL= glu |
30 |
USE_GL= gl glu |
23 |
USE_GNOME= gconf2 libxslt intltool |
31 |
USE_GNOME= cairo gconf2 intltool libxslt |
24 |
USE_XORG= xorgproto ice sm x11 xcomposite xdamage xext xfixes xinerama \ |
32 |
USE_XORG= ice sm x11 xcomposite xdamage xext xfixes xinerama \ |
25 |
xrandr xrender |
33 |
xorgproto xrandr xrender |
26 |
USE_LDCONFIG= yes |
34 |
USE_LDCONFIG= yes |
27 |
|
35 |
|
28 |
GCONF_SCHEMAS= gwd.schemas \ |
36 |
GCONF_SCHEMAS= gwd.schemas \ |
Lines 64-73
Link Here
|
64 |
CPPFLAGS+= -I${LOCALBASE}/include |
72 |
CPPFLAGS+= -I${LOCALBASE}/include |
65 |
LIBS+= -L${LOCALBASE}/lib |
73 |
LIBS+= -L${LOCALBASE}/lib |
66 |
|
74 |
|
67 |
OPTIONS_DEFINE= SVG GTK2 METACITY DBUS FUSE |
75 |
OPTIONS_DEFINE= DBUS FUSE GTK2 METACITY NLS SVG |
68 |
OPTIONS_DEFAULT= SVG GTK2 METACITY DBUS |
76 |
OPTIONS_DEFAULT=DBUS GTK2 NLS SVG |
69 |
|
77 |
|
70 |
METACITY_DESC= Enable Metacity support |
78 |
METACITY_DESC= Enable Metacity support [broken since Metacity migrated to GTK+ 3] |
|
|
79 |
METACITY_BROKEN= Metacity support is broken. Deselect the option METACITY to build |
71 |
|
80 |
|
72 |
SUB_FILES= compiz-manager |
81 |
SUB_FILES= compiz-manager |
73 |
DESKTOP_ENTRIES= "Compiz Manager" \ |
82 |
DESKTOP_ENTRIES= "Compiz Manager" \ |
Lines 87-95
Link Here
|
87 |
FUSE_CONFIGURE_ENABLE= fuse |
96 |
FUSE_CONFIGURE_ENABLE= fuse |
88 |
FUSE_USES= fuse |
97 |
FUSE_USES= fuse |
89 |
|
98 |
|
|
|
99 |
DBUS_CONFIGURE_ENABLE= dbus |
100 |
DBUS_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus |
101 |
DBUS_RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus |
102 |
|
103 |
NLS_CONFIGURE_ENABLE= nls |
104 |
NLS_USES= gettext-runtime gettext-tools |
105 |
|
90 |
.include <bsd.port.options.mk> |
106 |
.include <bsd.port.options.mk> |
91 |
|
107 |
|
92 |
.if !empty(PORT_OPTIONS:MMETACITY) && !empty(PORT_OPTIONS:MGNOME) && !empty(PORT_OPTIONS:MGTK2) |
108 |
.if !empty(PORT_OPTIONS:MMETACITY) && !empty(PORT_OPTIONS:MGTK2) |
93 |
CONFIGURE_ARGS+= --enable-metacity |
109 |
CONFIGURE_ARGS+= --enable-metacity |
94 |
USE_GNOME+= metacity |
110 |
USE_GNOME+= metacity |
95 |
.else |
111 |
.else |
Lines 96-112
Link Here
|
96 |
CONFIGURE_ARGS+= --disable-metacity |
112 |
CONFIGURE_ARGS+= --disable-metacity |
97 |
.endif |
113 |
.endif |
98 |
|
114 |
|
99 |
.if ${PORT_OPTIONS:MDBUS} |
115 |
.if !empty(PORT_OPTIONS:MDBUS) && !empty(PORT_OPTIONS:MGTK2) |
100 |
CONFIGURE_ARGS+= --enable-dbus |
|
|
101 |
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus |
102 |
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus |
103 |
.if ${PORT_OPTIONS:MGTK2} && ${PORT_OPTIONS:MGNOME} |
104 |
CONFIGURE_ARGS+= --enable-dbus-glib |
116 |
CONFIGURE_ARGS+= --enable-dbus-glib |
105 |
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:devel/dbus-glib |
117 |
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:devel/dbus-glib |
106 |
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:devel/dbus-glib |
118 |
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:devel/dbus-glib |
107 |
.endif |
|
|
108 |
.else |
119 |
.else |
109 |
CONFIGURE_ARGS+= --disable-dbus --disable-dbus-glib |
120 |
CONFIGURE_ARGS+= --disable-dbus-glib |
110 |
.endif |
121 |
.endif |
111 |
|
122 |
|
112 |
post-install: |
123 |
post-install: |