1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/audio/esound/Makefile
Joe Marcus Clarke fc0c338e9f Only process the var_args argument to open() if flags contain O_CREAT.
This avoids a bus error crash when using esddsp.

PR:		80382
2005-04-27 03:38:33 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: esound
# Date created: 19 July 1998
# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= esound
PORTVERSION= 0.2.35
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.2
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= A sound library for enlightenment package
LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile
USE_BZIP2= yes
USE_GNOME= gnometarget gnomehack
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL_VER=15
USE_GETOPT_LONG=yes
CONFLICTS= py*-ro-[0-9]*
MAN1= esd-config.1 esd.1 esdcat.1 esdctl.1 esddsp.1 esdfilt.1 esdloop.1 \
esdmon.1 esdplay.1 esdrec.1 esdsample.1
post-patch:
@${REINPLACE_CMD} -e 's|esdconf_DATA = esd.conf|esdconf_DATA = |g' \
${WRKSRC}/Makefile.in
post-install:
if [ ! -f ${PREFIX}/etc/esd.conf ]; then \
${INSTALL_DATA} ${WRKSRC}/esd.conf ${PREFIX}/etc/esd.conf; \
${INSTALL_DATA} ${WRKSRC}/esd.conf ${PREFIX}/etc/esd.conf.default; \
else \
${INSTALL_DATA} ${WRKSRC}/esd.conf ${PREFIX}/etc/esd.conf.default; \
fi
.include <bsd.port.mk>