Lines 17-53
Link Here
|
17 |
|
17 |
|
18 |
USE_BZIP2= yes |
18 |
USE_BZIP2= yes |
19 |
USE_X_PREFIX= yes |
19 |
USE_X_PREFIX= yes |
20 |
WANT_GNOME= yes |
20 |
USE_GNOME= esound |
21 |
USE_GMAKE= yes |
21 |
USE_GMAKE= yes |
22 |
USE_AUTOTOOLS= autoconf:213 |
22 |
USE_AUTOTOOLS= autoconf:213 |
23 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
23 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
24 |
LIBS="-L${LOCALBASE}/lib" |
24 |
LIBS="-L${LOCALBASE}/lib" |
25 |
CONFIGURE_ARGS= --disable-alsa |
25 |
CONFIGURE_ARGS= --disable-alsa --disable-oss --enable-esd |
26 |
|
26 |
|
27 |
CFLAGS+= -fPIC |
27 |
MAN1= xmp.1 |
28 |
|
28 |
MLINKS= xmp.1 xxmp.1 |
29 |
.include <bsd.port.pre.mk> |
|
|
30 |
|
29 |
|
31 |
.if ${OSVERSION} > 500013 || ${MACHINE_ARCH} == "alpha" |
30 |
CFLAGS+= -fPIC |
32 |
USE_GNOME+= esound |
|
|
33 |
CONFIGURE_ARGS+= --disable-oss --enable-esd |
34 |
PKGNAMESUFFIX= -esound |
35 |
.elif ${HAVE_GNOME:Mesound}!="" |
36 |
USE_GNOME+= esound |
37 |
CONFIGURE_ARGS+= --enable-esd |
38 |
PKGNAMESUFFIX= -esound |
39 |
.endif |
40 |
|
31 |
|
41 |
.if !defined(WITHOUT_XMMS) |
32 |
.if !defined(WITHOUT_XMMS) |
42 |
LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms |
33 |
LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms |
43 |
.else |
34 |
.else |
44 |
CONFIGURE_ARGS+= --disable-xmms |
35 |
CONFIGURE_ARGS+=--disable-xmms |
45 |
.endif |
36 |
.endif |
46 |
|
37 |
|
47 |
MAN1= xmp.1 |
|
|
48 |
MLINKS= xmp.1 xxmp.1 |
49 |
|
50 |
post-patch: |
38 |
post-patch: |
51 |
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/docs/xmp.1 |
39 |
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/docs/xmp.1 |
52 |
|
40 |
|
53 |
.include <bsd.port.post.mk> |
41 |
.include <bsd.port.mk> |