aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dump9660/Makefile
blob: 9e0c00b1f0a6f5291696b2d0da06bc3d257de2fa (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
# New ports collection makefile for: dump9660
# Date Created:     14 Jun 2002
# Whom:         wkj
#
# $FreeBSD$
#

PORTNAME=   dump9660
PORTVERSION=    1.0
CATEGORIES= sysutils
MASTER_SITES=   http://www.morphisms.net/~wkj/Software/dump9660/
DISTNAME=   dump9660
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Create an ISO 9660 image, possibly incrementally

MAN8=       mk9660.8
MAN5=       proto.5
MLINKS=     mk9660.8 dump9660.8

ONLY_FOR_ARCHS= alpha i386 powerpc
OBJTYPE=    ${MACHINE_ARCH:S/i386/386/:S/powerpc/power/}
MAKE_ENV=   systype=${OPSYS} objtype=${OBJTYPE}

post-patch:
    ${REINPLACE_CMD} -e 's|@@LOCAL@@|${PREFIX}|g' ${WRKSRC}/Makefile
    ${REINPLACE_CMD} -e 's|CC=.*|CC=${CC}|' \
        -e 's|XCFLAGS=.*|XCFLAGS=${CFLAGS} -DFREEBSD|' \
        ${WRKSRC}/Make.FreeBSD
# The assembly files require pre-processing
    cd ${WRKSRC}/libunix; \
        for f in *.s; do ${MV} $$f $${f%.s}.S; done

.include <bsd.port.mk>