aboutsummaryrefslogtreecommitdiffstats
path: root/audio/volumecontrol.app/Makefile
blob: 0fc61832efdb34fd8aa14587e257191e891e3f82 (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
# New ports collection makefile for:    volumecontrol.app
# Date created:         28 Aug 2006
# Whom:                 gurkan@linuks.mine.nu
#
# $FreeBSD$
#

PORTNAME=   volumecontrol
PORTVERSION=    0.5
CATEGORIES= audio
MASTER_SITES=   http://www.linuks.mine.nu/volumecontrol/ \
        ${MASTER_SITE_GNUSTEP_CH}

MAINTAINER= gurkan@linuks.mine.nu
COMMENT=    Audio mixer for GNUstep

USE_GNUSTEP=    yes
USE_GNUSTEP_PREFIX= yes
USE_GNUSTEP_BACK=   yes
USE_GNUSTEP_BUILD=  yes
USE_GNUSTEP_INSTALL=    yes

WRKSRC=     ${WRKDIR}/${PORTNAME:C/\.app//}-${PORTVERSION}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=     does not compile on 4.x
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|g' \
        ${WRKSRC}/AppController.m

.include <bsd.port.post.mk>