aboutsummaryrefslogtreecommitdiffstats
path: root/audio/esound/Makefile
blob: e6a7f089be465831c472674e340f28a3b0636fdd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Created by: Vanilla I. Shu <vanilla@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/audio/esound/Makefile,v 1.1 2008/11/20 19:38:24 marcus Exp $

PORTNAME=   esound
PORTVERSION=    0.2.41
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A sound library for enlightenment package

LIB_DEPENDS=    audiofile.0:${PORTSDIR}/audio/libaudiofile

USE_AUTOTOOLS=  libtool
USE_BZIP2=  yes
USE_GNOME=  gnomehack
USE_PKGCONFIG=  build
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  JW=false

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
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>