2000-11-02 22:09:57 +01:00
|
|
|
# New ports collection makefile for: libao
|
|
|
|
# Date created: 18 October 2000
|
|
|
|
# Whom: t.vanklaveren@student.utwente.nl
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libao
|
2011-06-08 21:56:00 +02:00
|
|
|
PORTVERSION= 1.1.0
|
2011-09-28 01:54:27 +02:00
|
|
|
PORTREVISION= 1
|
2000-11-02 22:09:57 +01:00
|
|
|
CATEGORIES= audio
|
2007-07-05 16:59:14 +02:00
|
|
|
MASTER_SITES= http://downloads.xiph.org/releases/ao/
|
2000-11-02 22:09:57 +01:00
|
|
|
|
2001-11-03 23:22:34 +01:00
|
|
|
MAINTAINER= naddy@FreeBSD.org
|
2003-02-21 13:52:52 +01:00
|
|
|
COMMENT= Portable audio output library
|
2000-11-02 22:09:57 +01:00
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2003-10-09 19:42:30 +02:00
|
|
|
WANT_GNOME= yes
|
|
|
|
USE_GNOME= gnomehack pkgconfig
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2009-03-24 15:47:42 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2000-11-02 22:09:57 +01:00
|
|
|
|
2001-08-27 03:26:34 +02:00
|
|
|
MAN5= libao.conf.5
|
|
|
|
|
2012-06-09 19:05:17 +02:00
|
|
|
OPTIONS_DEFINE= DOCS ARTS ESOUND NAS PULSEAUDIO
|
2007-07-14 22:06:15 +02:00
|
|
|
|
2012-06-09 19:05:17 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2007-07-14 22:06:15 +02:00
|
|
|
|
2012-06-09 19:05:17 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
MAKE_ENV= DOC=doc
|
|
|
|
.else
|
|
|
|
MAKE_ENV= DOC=""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MARTS}
|
2006-08-07 19:20:16 +02:00
|
|
|
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
|
2012-06-09 19:05:17 +02:00
|
|
|
PLIST_SUB+= ARTS=""
|
2003-10-08 18:17:10 +02:00
|
|
|
.else
|
2007-07-14 22:06:15 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-arts
|
2012-06-09 19:05:17 +02:00
|
|
|
PLIST_SUB+= ARTS="@comment "
|
2007-07-14 22:06:15 +02:00
|
|
|
.endif
|
|
|
|
|
2012-06-09 19:05:17 +02:00
|
|
|
.if ${PORT_OPTIONS:MESOUND}
|
2007-07-14 22:06:15 +02:00
|
|
|
USE_GNOME+= esound
|
2012-06-09 19:05:17 +02:00
|
|
|
PLIST_SUB+= ESOUND=""
|
2007-07-14 22:06:15 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-esd
|
2012-06-09 19:05:17 +02:00
|
|
|
PLIST_SUB+= ESOUND="@comment "
|
2003-10-08 18:17:10 +02:00
|
|
|
.endif
|
|
|
|
|
2012-06-09 19:05:17 +02:00
|
|
|
.if ${PORT_OPTIONS:MNAS}
|
2006-08-07 19:20:16 +02:00
|
|
|
LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas
|
2012-06-09 19:05:17 +02:00
|
|
|
PLIST_SUB+= NAS=""
|
2003-10-08 18:17:10 +02:00
|
|
|
.else
|
2007-07-14 22:06:15 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-nas
|
2012-06-09 19:05:17 +02:00
|
|
|
PLIST_SUB+= NAS="@comment "
|
2003-10-08 18:17:10 +02:00
|
|
|
.endif
|
|
|
|
|
2012-06-09 19:05:17 +02:00
|
|
|
.if ${PORT_OPTIONS:MPULSEAUDIO}
|
2007-07-14 22:06:15 +02:00
|
|
|
LIB_DEPENDS+= pulse-simple.0:${PORTSDIR}/audio/pulseaudio
|
2012-06-09 19:05:17 +02:00
|
|
|
PLIST_SUB+= PULSEAUDIO=""
|
2001-03-02 23:07:37 +01:00
|
|
|
.else
|
2007-07-14 22:06:15 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-pulse
|
2012-06-09 19:05:17 +02:00
|
|
|
PLIST_SUB+= PULSEAUDIO="@comment "
|
2001-03-02 23:07:37 +01:00
|
|
|
.endif
|
|
|
|
|
2007-03-09 19:14:06 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/etc/libao.conf|${PREFIX}&|' \
|
2010-06-06 22:35:49 +02:00
|
|
|
${WRKSRC}/libao.conf.5 ${WRKSRC}/include/ao/ao_private.h \
|
2007-03-09 19:14:06 +01:00
|
|
|
${WRKSRC}/doc/config.html
|
|
|
|
|
2012-06-09 19:05:17 +02:00
|
|
|
.include <bsd.port.mk>
|