/x11/enterminus/

ts-gnome Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/mkisofs-devel/Makefile
blob: b77db0b25bd810ff4d006a81cec288bc2c3ef6cc (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
# New ports collection makefile for:    mkisofs
# Date created:     07 Aug 1996
# Whom:         jhk
#
# $FreeBSD$
#

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

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

post-build:
    @(cd ${WRKSRC}/mkisofs; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} apple_driver)

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

.include <bsd.port.mk>