aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cdrecord/Makefile
blob: b2177229eee543de8d246d0c21d0a5d02c9c7f01 (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
# New ports collection makefile for:    cdrecord
# Version required:     1.6
# Date created:         2 November 1997
# Whom:                 jmz
#
# $Id: Makefile,v 1.6 1998/05/13 01:51:02 jmz Exp $
#

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

MAINTAINER= jmz@FreeBSD.org

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

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

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>