blob: df221b2266446386ad276529234d976dc2933e7b (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# $NetBSD: Makefile,v 1.46 2003/02/13 06:35:45 jlam Exp $
DISTNAME= cdrtools-2.0
PKGNAME= cdrecord-2.0
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/
MAINTAINER= lukem@netbsd.org
HOMEPAGE= http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html
COMMENT= This program allows you to create CD's on a CD-Recorder
CONFLICTS= mkisofs-[0-9]*
.include "../../mk/bsd.prefs.mk"
USE_BUILDLINK2= # defined
USE_GMAKE= # defined
TBL?= tbl
.if ${LOCALBASE} != "/opt/schily"
BUILDLINK_TRANSFORM= r:/opt/schily
BUILDLINK_TRANSFORM+= r:/opt/schily
.endif
# avoid picking up a bad ${ARCH} during the build
MAKE_ENV+= ARCH=""
MAKE_ENV+= MAKEPROG="gmake"
MAKE_ENV+= COPTX="${CFLAGS}"
MAKE_ENV+= LDOPTX="${LDFLAGS}"
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
post-build:
cd ${WRKSRC}; \
for file in cdda2wav/cdda2wav.1 mkisofs/mkisofs.8; do \
${TBL} $${file} > $${file}.tmp; \
${MV} -f $${file}.tmp $${file}; \
done
do-install:
cd ${WRKSRC}/cdda2wav; \
${INSTALL_PROGRAM} OBJ/*/cdda2wav ${PREFIX}/bin; \
${INSTALL_MAN} cdda2wav.1 ${PREFIX}/man/man1
cd ${WRKSRC}/cdrecord; \
${INSTALL_PROGRAM} OBJ/*/cdrecord ${PREFIX}/bin; \
${INSTALL_MAN} cdrecord.1 ${PREFIX}/man/man1
cd ${WRKSRC}/mkisofs; \
${INSTALL_PROGRAM} OBJ/*/mkisofs ${PREFIX}/bin; \
${INSTALL_MAN} mkisofs.8 ${PREFIX}/man/man8
cd ${WRKSRC}/mkisofs/diag; \
for f in devdump isodump isoinfo isovfy; do \
${INSTALL_PROGRAM} OBJ/*/$$f ${PREFIX}/bin; \
${INSTALL_MAN} isoinfo.8 ${PREFIX}/man/man8/$$f.8; \
done
cd ${WRKSRC}/readcd; \
${INSTALL_PROGRAM} OBJ/*/readcd ${PREFIX}/bin; \
${INSTALL_MAN} readcd.1 ${PREFIX}/man/man1
.include "../../mk/ossaudio.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|