Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= opal |
8 |
PORTNAME= opal |
9 |
PORTVERSION= 2.2.1 |
9 |
PORTVERSION= 2.2.1 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= net |
11 |
CATEGORIES= net |
11 |
MASTER_SITES= http://www.voxgratia.org/releases/ |
12 |
MASTER_SITES= http://www.voxgratia.org/releases/ |
12 |
DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g}-src- |
13 |
DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g}-src- |
Lines 24-31
Link Here
|
24 |
USE_AUTOTOOLS= autoconf:259 |
25 |
USE_AUTOTOOLS= autoconf:259 |
25 |
GNU_CONFIGURE= yes |
26 |
GNU_CONFIGURE= yes |
26 |
INSTALLS_SHLIB= yes |
27 |
INSTALLS_SHLIB= yes |
|
|
28 |
NO_FILTER_SHLIBS= yes |
27 |
|
29 |
|
28 |
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include" \ |
30 |
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include" \ |
29 |
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" |
31 |
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" |
30 |
|
32 |
|
31 |
.include <bsd.port.mk> |
33 |
.include <bsd.port.pre.mk> |
|
|
34 |
|
35 |
.ifdef (WITH_FFMPEG) |
36 |
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg |
37 |
CONFIGURE_ARGS+= --enable-h263avcodec=${LOCALBASE}/include/ffmpeg |
38 |
.endif |
39 |
|
40 |
.ifdef (WITH_SPEEX) |
41 |
LIB_DEPENDS+= speex.3:${PORTSDIR}/audio/speex-devel |
42 |
BUILD_DEPENDS+= ${LOCALBASE}/include/speex/speex_echo.h:${PORTSDIR}/audio/speex-devel |
43 |
CONFIGURE_ARGS+= --enable-localspeex=no |
44 |
.else |
45 |
CONFIGURE_ARGS+= --enable-localspeex=yes |
46 |
.endif |
47 |
|
48 |
.include <bsd.port.post.mk> |