summaryrefslogtreecommitdiffstats
path: root/sysutils/cdrtools/Makefile
blob: 8ddd1e94e0704058a810db93cd910da55a962aa1 (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
# New ports collection makefile for:    cdrecord
# Version required:     1.6
# Date created:         2 November 1997
# Whom:                 jmz
#
# $Id: Makefile,v 1.5 1998/03/27 23:14:05 steve Exp $
#

DISTNAME=	cdrecord-1.6
CATEGORIES=	sysutils
MASTER_SITES=	ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/

MAINTAINER=	jmz@FreeBSD.org

RUN_DEPENDS=	mkisofs:${PORTSDIR}/sysutils/mkisofs

MAN1=		cdrecord.1
USE_GMAKE=	yes
WRKSRC=		${WRKDIR}/${PKGNAME}

do-build:
	@cd ${WRKSRC}/lib && ../Gmake
	@cd ${WRKSRC}/cdrecord && ../Gmake COPTX=-DBSD_SCSI_SENSE_BUG

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/i386-freebsd-cc/cdrecord \
	 ${PREFIX}/bin
	@${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 ${PREFIX}/man/man1
	@cd /dev && ln -sf /dev/rworm0.ctl scgx

.include <bsd.port.mk>
OpenPOWER on IntegriCloud