aboutsummaryrefslogtreecommitdiffstats
path: root/korean/mkisofs/Makefile
blob: a4bd30e81f5001d9f72187e34b605b7ed2ad31bb (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
46
47
# New ports collection makefile for:    mkisofs
# Date created:     23 Mar 2001
# Whom:         cjh
#
# $FreeBSD$
#

PORTNAME=   mkisofs
PORTVERSION=    1.13
CATEGORIES= korean 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/

PATCH_SITES=    ftp://ftp.kr.FreeBSD.org/pub/FreeBSD-kr/distfiles/
PATCHFILES= mkisofs-1.13-cp949.diff.gz
PATCH_DIST_STRIP=   -p1

MAINTAINER= cjh@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>