summaryrefslogtreecommitdiff
path: root/sysutils/mkisofs-devel/Makefile
blob: b26d20e00940e484c457106e5d907cb928c0a946 (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
37
38
39
40
41
42
43
44
45
# New ports collection makefile for:	mkisofs
# Date created:		07 Aug 1996
# Whom:			jhk
#
# $FreeBSD$
#

PORTNAME=	mkisofs
PORTVERSION=	1.12.1
CATEGORIES=	sysutils
MASTER_SITES=	ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/ \
		ftp://ftp.gwdg.de/pub/linux/misc/cdrecord/ \
		ftp://ftp.cs.tu-berlin.de/pub/misc/cdrecord/
DISTNAME=	cdrecord-1.8.1

PATCH_SITES=	${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR=	dirk
PATCHFILES=	apple_driver.patch

MAINTAINER=	dirk@FreeBSD.org

MAN8=		apple_driver.8 isoinfo.8 mkhybrid.8 mkisofs.8
USE_GMAKE=	yes
MAKE_ENV=	COPTX="-DBSD_SCSI_SENSE_BUG"

.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}/mkisofs/OBJ/${ARCH}-freebsd-cc/mkisofs ${PREFIX}/bin
	@${INSTALL_PROGRAM} ${WRKSRC}/mkhybrid/OBJ/${ARCH}-freebsd-cc/mkhybrid ${PREFIX}/bin
	@${INSTALL_PROGRAM} ${WRKSRC}/mkhybrid/OBJ/${ARCH}-freebsd-cc/apple_driver ${PREFIX}/bin
	@${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${ARCH}-freebsd-cc/devdump ${PREFIX}/bin
	@${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${ARCH}-freebsd-cc/isodump ${PREFIX}/bin
	@${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${ARCH}-freebsd-cc/isoinfo ${PREFIX}/bin
	@${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${ARCH}-freebsd-cc/isovfy ${PREFIX}/bin
	@${INSTALL_MAN} ${WRKSRC}/mkisofs/mkisofs.8 ${PREFIX}/man/man8
	@${INSTALL_MAN} ${WRKSRC}/mkhybrid/mkhybrid.8 ${PREFIX}/man/man8
	@${INSTALL_MAN} ${WRKSRC}/mkhybrid/apple_driver.8 ${PREFIX}/man/man8
	@${INSTALL_MAN} ${WRKSRC}/mkisofs/diag/isoinfo.8 ${PREFIX}/man/man8

.include <bsd.port.mk>