aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gnustep-cdplayer/Makefile
blob: 77ec7597ac68d7b8f63ade678a7773ce84ce5784 (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=   4
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 # or later
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libcdaudio.so:${PORTSDIR}/audio/libcdaudio \
        libPrefsModule.so:${PORTSDIR}/deskutils/preferences

BUILD_DEPENDS=  cddb-bundle>0:${PORTSDIR}/audio/cddb-bundle
RUN_DEPENDS=    cddb-bundle>0:${PORTSDIR}/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>