aboutsummaryrefslogtreecommitdiff
path: root/sysutils/burn/Makefile
blob: 40356b4a3c373c8eb2f4180c6d9164dbbbd92121 (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
44
45
46
47
48
# New ports collection makefile for:    burn
# Date created:         21 Oct 2006
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=	burn
PORTVERSION=	0.4.1
PORTREVISION=	2
CATEGORIES=	sysutils gnustep
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	gsburn

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	GNUstep based CD burning program

LIB_DEPENDS+=	cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
RUN_DEPENDS+=	cdrdao:${PORTSDIR}/sysutils/cdrdao

USE_CDRTOOLS=	yes
USE_GNUSTEP=	yes
USE_GNUSTEP_PREFIX=	yes
USE_GNUSTEP_BACK=	yes
USE_GNUSTEP_BUILD=	yes
USE_GNUSTEP_INSTALL=	yes
USE_GNUSTEP_LOCAL_BUNDLES+=	Cddb:${CDDB_BUNDLE_PORT}
USE_GNUSTEP_LOCAL_BUNDLES+=	AudioCD:${CDPLAYER_PORT}
USE_GNUSTEP_SYSTEM_LIBS+=	PrefsModule:${PREFERENCES_PORT}
USE_GNUSTEP_SYSTEM_LIBS+=	Inspector:${GWORKSPACE_PORT}

WRKSRC=		${WRKDIR}/Burn
HEADERS=	Burn/ExternalTools.h Burn/PreferencesModule.h \
		Constants.h Functions.h Track.h

CDDB_BUNDLE_PORT?=	audio/cddb-bundle
CDPLAYER_PORT?=		audio/gnustep-cdplayer
PREFERENCES_PORT?=	deskutils/preferences.app
GWORKSPACE_PORT?=	deskutils/gworkspace

post-install:
	${MKDIR} ${GNUSTEP_PREFIX}/Local/Library/Headers/Burn
.for i in ${HEADERS}
	${INSTALL_DATA} ${WRKSRC}/${i} \
		${GNUSTEP_PREFIX}/Local/Library/Headers/Burn/
.endfor

.include <bsd.port.mk>