mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
789d75c728
-Update libtool and libltdl to 2.2.6a. -Remove devel/libtool15 and devel/libltdl15. -Fix ports build with libtool22/libltdl22. -Bump ports that depend on libltdl22 due to shared library version change. -Explain what to do update in the UPDATING. It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop and applications in the runtime. With help: marcus and kwm Pointyhat-exp: a few times by pav Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and a few MarcusCom CVS users. Also, I might have missed a few. Repocopy by: marcus Approved by: portmgr
77 lines
1.5 KiB
Makefile
77 lines
1.5 KiB
Makefile
# New ports collection makefile for: libao
|
|
# Date created: 18 October 2000
|
|
# Whom: t.vanklaveren@student.utwente.nl
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libao
|
|
PORTVERSION= 0.8.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://downloads.xiph.org/releases/ao/
|
|
|
|
MAINTAINER= naddy@FreeBSD.org
|
|
COMMENT= Portable audio output library
|
|
|
|
USE_AUTOTOOLS= libtool:22
|
|
WANT_GNOME= yes
|
|
USE_GNOME= gnomehack pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
.if defined(NOPORTDOCS)
|
|
MAKE_ENV= DOC=""
|
|
.else
|
|
MAKE_ENV= DOC=doc
|
|
.endif
|
|
|
|
MAN5= libao.conf.5
|
|
|
|
OPTIONS= ARTS "Enable the aRts module" off \
|
|
ESOUND "Enable the EsounD module" off \
|
|
NAS "Enable the Network Audio System module" off \
|
|
PULSEAUDIO "Enable the PulseAudio module" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_ARTS)
|
|
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-arts
|
|
.endif
|
|
|
|
.if defined(WITH_ESOUND)
|
|
USE_GNOME+= esound
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-esd
|
|
.endif
|
|
|
|
.if defined(WITH_NAS)
|
|
LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-nas
|
|
.endif
|
|
|
|
.if defined(WITH_PULSEAUDIO)
|
|
LIB_DEPENDS+= pulse-simple.0:${PORTSDIR}/audio/pulseaudio
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-pulse
|
|
.endif
|
|
|
|
.for m in ARTS ESOUND NAS PULSEAUDIO
|
|
. if defined(WITH_$m)
|
|
PLIST_SUB+= $m=""
|
|
. else
|
|
PLIST_SUB+= $m="@comment "
|
|
. endif
|
|
.endfor
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/etc/libao.conf|${PREFIX}&|' \
|
|
${WRKSRC}/libao.conf.5 ${WRKSRC}/src/ao_private.h \
|
|
${WRKSRC}/doc/config.html
|
|
|
|
.include <bsd.port.post.mk>
|