blob: 7eccc45e19f538109109b840104ddad7ac259b5f (
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
41
42
43
44
45
46
47
48
49
50
51
|
# $NetBSD: Makefile,v 1.14 2005/05/22 20:08:31 jlam Exp $
DISTNAME= cdrtools-2.01a21
PKGNAME= cdrecord-xcdroast-0.98a15.2.01a21
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/alpha/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html
COMMENT= cdrecord bits for xcdroast
CONFLICTS+= cdrecord-xcdroast098a11-*
CONFLICTS+= cdrecord-xcdroast098a13-*
.include "../../mk/bsd.prefs.mk"
WRKSRC= ${WRKDIR}/${DISTNAME:C/a.*//}
USE_TOOLS+= gmake
.if ${LOCALBASE} != "/opt/schily"
BUILDLINK_TRANSFORM= rmdir:/opt/schily
.endif
# avoid picking up a bad ${ARCH} during the build
MAKE_ENV+= ARCH=""
MAKE_ENV+= MAKEPROG="gmake"
do-configure:
cd ${WRKSRC}/RULES; \
for suffix in netbsd-cc.rul netbsd-gcc.rul; do \
if [ ! -f ${MACHINE}-$$suffix ]; then \
${LN} -sf i386-$$suffix ${MACHINE}-$$suffix; \
fi; \
done
XCDRTOOLDIR= ${PREFIX}/lib/xcdroast-0.98/bin
do-install:
${INSTALL_DATA_DIR} ${XCDRTOOLDIR}
cd ${WRKSRC}/cdda2wav; \
${INSTALL_PROGRAM} OBJ/*/cdda2wav ${XCDRTOOLDIR}
cd ${WRKSRC}/cdrecord; \
${INSTALL_PROGRAM} OBJ/*/cdrecord ${XCDRTOOLDIR}
cd ${WRKSRC}/mkisofs; \
${INSTALL_PROGRAM} OBJ/*/mkisofs ${XCDRTOOLDIR}
cd ${WRKSRC}/readcd; \
${INSTALL_PROGRAM} OBJ/*/readcd ${XCDRTOOLDIR}
.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|