aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrtools/Makefile
blob: 55df063298833efa1df42b87a8580a7a5ea7c0e7 (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
# New ports collection makefile for:    cdrecord
# Version required:     1.8a29
# Date created:         2 November 1997
# Whom:                 jmz
#
# $FreeBSD$
#

DISTNAME=	cdrecord-1.8a29
CATEGORIES=	sysutils audio
MASTER_SITES=	ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/ \
		ftp://ftp.cs.tu-berlin.de/pub/misc/cdrecord/alpha/ \
		ftp://ftp.gwdg.de/pub/linux/misc/cdrecord/alpha/

MAINTAINER=	dirk@FreeBSD.org

WRKSRC=         ${WRKDIR}/cdrecord-1.8
MAN1=		cdrecord.1 cdda2wav.1
USE_GMAKE=	yes
MAKE_ENV=	COPTX="-DBSD_SCSI_SENSE_BUG -DHAVE_SIZE_T"

.if ${MACHINE_ARCH} == "alpha"
post-extract:
	${LN} -s ${WRKSRC}/RULES/i386-freebsd-cc.rul \
		${WRKSRC}/RULES/alpha-freebsd-cc.rul
.endif

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/${ARCH}-freebsd-cc/cdrecord \
	 ${PREFIX}/bin
	@${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/${ARCH}-freebsd-cc/cdda2wav \
	 ${PREFIX}/bin
	@${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 ${PREFIX}/man/man1
	@${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2wav.1 ${PREFIX}/man/man1

.include <bsd.port.mk>