aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gnustep-cdplayer/Makefile
blob: fd93238e1358af763bc37f30fccd9944014a1d25 (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
# $FreeBSD$

PORTNAME=   cdplayer
PORTVERSION=    0.5.1
PORTREVISION=   5
CATEGORIES= audio gnustep
MASTER_SITES=   SF/gsburn/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX=  gnustep-

MAINTAINER= ports@FreeBSD.org
COMMENT=    GNUstep CD player with CDDB support

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libcdaudio.so:audio/libcdaudio \
        libPrefsModule.so:deskutils/preferences

BUILD_DEPENDS=  cddb-bundle>0:audio/cddb-bundle
RUN_DEPENDS=    cddb-bundle>0:audio/cddb-bundle

USES=       tar:bzip2 gnustep
USE_GNUSTEP=    back build

WRKSRC=     ${WRKDIR}/CDPlayer-${PORTVERSION}

post-install:
    ${STRIP_CMD} \
        ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/AudioCD.bundle/AudioCD \
        ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/AudioCD.prefs/AudioCD \
        ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/CDPlayer.app/CDPlayer

.include <bsd.port.mk>