summaryrefslogtreecommitdiff
path: root/sysutils/burn/Makefile
blob: 70b2c4d6a1294480f9086849ba064626256978c1 (plain)
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
# $NetBSD: Makefile,v 1.30 2016/04/11 19:02:03 ryoon Exp $
#

DISTNAME=	burn-0.4.1
PKGREVISION=	10
CATEGORIES=	sysutils gnustep
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=gsburn/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://gsburn.sourceforge.net/
COMMENT=	GNUstep based CD burning program
LICENSE=	gnu-gpl-v2

DEPENDS+=	cdparanoia>=3.0.9.8:../../audio/cdparanoia
DEPENDS+=	cdrtools>=1.10:../../sysutils/cdrtools
DEPENDS+=	cdrdao>=1.1.5:../../sysutils/cdrdao
DEPENDS+=	gworkspace-[0-9]*:../../sysutils/gworkspace

MAKE_FILE=	GNUmakefile
USE_TOOLS+=	gmake
USE_LANGUAGES=	objc
WRKSRC=		${WRKDIR}/Burn
MAKE_JOBS_SAFE=	no
MAKE_ENV+=	ADDITIONAL_CPPFLAGS=-D_POSIX_SOURCE
MAKE_ENV+=	ADDITIONAL_LDFLAGS=-lutil

FIX_GNUSTEP_INSTALLATION_DIR=	yes
SUBST_FILES.gnustep_installation_dir+=	Bundles/CDparanoia/GNUmakefile
SUBST_FILES.gnustep_installation_dir+=	Bundles/CDrecord/GNUmakefile
SUBST_FILES.gnustep_installation_dir+=	Bundles/MkIsoFs/GNUmakefile

.include "../../devel/gnustep-make/gnustep.mk"

do-configure:
	${LN} -s AudioCD ${BUILDLINK_DIR.cdplayer}/include/CDPlayer

.include "../../audio/cdplayer/buildlink3.mk"
.include "../../x11/gnustep-back/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"