|
Lines 63-90
Link Here
|
| 63 |
PLIST_SUB+= WITH_LIBXV="@comment " |
69 |
PLIST_SUB+= WITH_LIBXV="@comment " |
| 64 |
.endif |
70 |
.endif |
| 65 |
|
71 |
|
| 66 |
.if exists(${LOCALBASE}/bin/artsc-config) || defined(WITH_ARTS) |
72 |
.if !defined(WITHOUT_ARTS) && (exists(${LOCALBASE}/bin/artsc-config) || defined(WITH_ARTS)) |
| 67 |
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts |
73 |
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts |
| 68 |
PLIST_SUB+= WITH_ARTS="" |
74 |
PLIST_SUB+= WITH_ARTS="" |
| 69 |
.else |
75 |
.else |
| 70 |
PLIST_SUB+= WITH_ARTS="@comment " |
76 |
PLIST_SUB+= WITH_ARTS="@comment " |
| 71 |
.endif |
77 |
.endif |
| 72 |
|
78 |
|
| 73 |
.if exists(${LOCALBASE}/lib/libcaca.a) || defined(WITH_LIBCACA) |
79 |
.if !defined(WITHOUT_LIBCACA) && (exists(${LOCALBASE}/lib/libcaca.a) || defined(WITH_LIBCACA)) |
| 74 |
BUILD_DEPENDS+= caca-config:${PORTSDIR}/graphics/libcaca |
80 |
BUILD_DEPENDS+= caca-config:${PORTSDIR}/graphics/libcaca |
| 75 |
PLIST_SUB+= WITH_LIBCACA="" |
81 |
PLIST_SUB+= WITH_LIBCACA="" |
| 76 |
.else |
82 |
.else |
| 77 |
PLIST_SUB+= WITH_LIBCACA="@comment " |
83 |
PLIST_SUB+= WITH_LIBCACA="@comment " |
| 78 |
.endif |
84 |
.endif |
| 79 |
|
85 |
|
| 80 |
.if ${HAVE_GNOME:Mesound} != "" || defined(WITH_ESOUND) |
86 |
.if !defined(WITHOUT_GNOME) && !defined(WITHOUT_ESOUND) && (${HAVE_GNOME:Mesound} != "" || defined(WITH_ESOUND)) |
| 81 |
USE_GNOME+= esound |
87 |
USE_GNOME+= esound |
| 82 |
PLIST_SUB+= WITH_ESOUND="" |
88 |
PLIST_SUB+= WITH_ESOUND="" |
| 83 |
.else |
89 |
.else |
| 84 |
PLIST_SUB+= WITH_ESOUND="@comment " |
90 |
PLIST_SUB+= WITH_ESOUND="@comment " |
| 85 |
.endif |
91 |
.endif |
| 86 |
|
92 |
|
| 87 |
.if ${HAVE_GNOME:Mgnomevfs2} != "" |
93 |
.if !defined(WITHOUT_GNOME) && !defined(WITHOUT_GNOMEVFS2) && ${HAVE_GNOME:Mgnomevfs2} != "" |
| 88 |
USE_GNOME+= gnomevfs2 |
94 |
USE_GNOME+= gnomevfs2 |
| 89 |
PLIST_SUB+= WITH_GNOMEVFS2="" |
95 |
PLIST_SUB+= WITH_GNOMEVFS2="" |
| 90 |
.else |
96 |
.else |
|
Lines 97-103
Link Here
|
| 97 |
PLIST_SUB+= WITH_VIDIX="@comment " |
103 |
PLIST_SUB+= WITH_VIDIX="@comment " |
| 98 |
.endif |
104 |
.endif |
| 99 |
|
105 |
|
| 100 |
.if exists(${X11BASE}/lib/libXvMCNVIDIA.so.1) || defined(WITH_XVMC) |
106 |
.if !defined(WITHOUT_XVMC) && (exists(${X11BASE}/lib/libXvMCNVIDIA.so.1) || defined(WITH_XVMC)) |
| 101 |
CONFIGURE_ARGS+=--with-xvmc-lib=XvMCNVIDIA |
107 |
CONFIGURE_ARGS+=--with-xvmc-lib=XvMCNVIDIA |
| 102 |
LIB_DEPENDS+= XvMCNVIDIA.1:${PORTSDIR}/x11/nvidia-driver |
108 |
LIB_DEPENDS+= XvMCNVIDIA.1:${PORTSDIR}/x11/nvidia-driver |
| 103 |
PLIST_SUB+= WITH_XVMC="" |
109 |
PLIST_SUB+= WITH_XVMC="" |
|
Lines 105-118
Link Here
|
| 105 |
PLIST_SUB+= WITH_XVMC="@comment " |
111 |
PLIST_SUB+= WITH_XVMC="@comment " |
| 106 |
.endif |
112 |
.endif |
| 107 |
|
113 |
|
| 108 |
.if exists(${LOCALBASE}/lib/libtheora.so.1) || defined (WITH_LIBTHEORA) |
114 |
.if !defined (WITHOUT_LIBTHEORA) && (exists(${LOCALBASE}/lib/libtheora.so.1) || defined (WITH_LIBTHEORA)) |
| 109 |
LIB_DEPENDS+= theora.1:${PORTSDIR}/multimedia/libtheora |
115 |
LIB_DEPENDS+= theora.1:${PORTSDIR}/multimedia/libtheora |
| 110 |
PLIST_SUB+= WITH_LIBTHEORA="" |
116 |
PLIST_SUB+= WITH_LIBTHEORA="" |
| 111 |
.else |
117 |
.else |
| 112 |
PLIST_SUB+= WITH_LIBTHEORA="@comment " |
118 |
PLIST_SUB+= WITH_LIBTHEORA="@comment " |
| 113 |
.endif |
119 |
.endif |
| 114 |
|
120 |
|
| 115 |
.if exists(${LOCALBASE}/lib/libsmbclient.so.0) || defined (WITH_SMB) |
121 |
.if !defined (WITHOUT_SMB) && (exists(${LOCALBASE}/lib/libsmbclient.so.0) || defined (WITH_SMB)) |
| 116 |
LIB_DEPENDS+= smbclient.0:${PORTSDIR}/net/samba-libsmbclient |
122 |
LIB_DEPENDS+= smbclient.0:${PORTSDIR}/net/samba-libsmbclient |
| 117 |
PLIST_SUB+= WITH_SMB="" |
123 |
PLIST_SUB+= WITH_SMB="" |
| 118 |
.else |
124 |
.else |
|
Lines 123-144
Link Here
|
| 123 |
@${ECHO_MSG} "===>" |
129 |
@${ECHO_MSG} "===>" |
| 124 |
@${ECHO_MSG} "===> You can enable some features by defining following variables." |
130 |
@${ECHO_MSG} "===> You can enable some features by defining following variables." |
| 125 |
@${ECHO_MSG} "===>" |
131 |
@${ECHO_MSG} "===>" |
| 126 |
.if !exists(${LOCALBASE}/bin/artsc-config) && !defined(WITH_ARTS) |
132 |
.if defined (WITHOUT_ARTS) || (!exists(${LOCALBASE}/bin/artsc-config) && !defined(WITH_ARTS)) |
| 127 |
@${ECHO_MSG} "===> WITH_ARTS (arts support)" |
133 |
@${ECHO_MSG} "===> WITH_ARTS (arts support)" |
| 128 |
.else |
134 |
.else |
| 129 |
@${ECHO_MSG} "===> WITH_ARTS (arts support, enabled)" |
135 |
@${ECHO_MSG} "===> WITH_ARTS (arts support, enabled)" |
| 130 |
.endif |
136 |
.endif |
| 131 |
.if !exists(${LOCALBASE}/lib/libcaca.a) && !defined(WITH_LIBCACA) |
137 |
.if defined (WITHOUT_LIBCACA) || (!exists(${LOCALBASE}/lib/libcaca.a) && !defined(WITH_LIBCACA)) |
| 132 |
@${ECHO_MSG} "===> WITH_LIBCACA (libcaca support)" |
138 |
@${ECHO_MSG} "===> WITH_LIBCACA (libcaca support)" |
| 133 |
.else |
139 |
.else |
| 134 |
@${ECHO_MSG} "===> WITH_LIBCACA (libcaca support, enabled)" |
140 |
@${ECHO_MSG} "===> WITH_LIBCACA (libcaca support, enabled)" |
| 135 |
.endif |
141 |
.endif |
| 136 |
.if !(${HAVE_GNOME:Mesound} != "") && !defined(WITH_ESOUND) |
142 |
.if defined (WITHOUT_GNOME) || defined (WITHOUT_ESOUND) || (!(${HAVE_GNOME:Mesound} != "") && !defined(WITH_ESOUND)) |
| 137 |
@${ECHO_MSG} "===> WITH_ESOUND (esound support)" |
143 |
@${ECHO_MSG} "===> WITH_ESOUND (esound support)" |
| 138 |
.else |
144 |
.else |
| 139 |
@${ECHO_MSG} "===> WITH_ESOUND (esound support, enabled)" |
145 |
@${ECHO_MSG} "===> WITH_ESOUND (esound support, enabled)" |
| 140 |
.endif |
146 |
.endif |
| 141 |
.if !exists(${LOCALBASE}/lib/libtheora.so.1) && !defined(WITH_LIBTHEORA) |
147 |
.if defined (WITHOUT_XVMC) || (!exists(${LOCALBASE}/lib/libtheora.so.1) && !defined(WITH_XVMC)) |
|
|
148 |
@${ECHO_MSG} "===> WITH_XVMC (nVidia's hardware accelerated mpeg2 support)" |
| 149 |
.else |
| 150 |
@${ECHO_MSG} "===> WITH_XVMC (nVidia's hardware accelerated mpeg2 support, enabled)" |
| 151 |
.endif |
| 152 |
.if defined (WITHOUT_LIBTHEORA) || (!exists(${LOCALBASE}/lib/libtheora.so.1) && !defined(WITH_LIBTHEORA)) |
| 142 |
@${ECHO_MSG} "===> WITH_LIBTHEORA (libtheora support)" |
153 |
@${ECHO_MSG} "===> WITH_LIBTHEORA (libtheora support)" |
| 143 |
.else |
154 |
.else |
| 144 |
@${ECHO_MSG} "===> WITH_LIBTHEORA (libtheora support, enabled)" |
155 |
@${ECHO_MSG} "===> WITH_LIBTHEORA (libtheora support, enabled)" |