aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dump9660/Makefile
blob: 3a3366e83d5917e08ded165b9253bfd7366a119f (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
# 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.eecs.harvard.edu/~wkj/Software/dump9660/
DISTNAME=   dump9660
EXTRACT_SUFX=   .tgz

MAINTAINER= dump9660-port@eecs.harvard.edu
COMMENT=    Create an ISO 9660 image, possibly incrementally

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

ONLY_FOR_ARCHS= alpha i386 powerpc
OBJTYPE=    ${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>