2003-01-18 19:51:22 -05:00
|
|
|
# New ports collection makefile for: dump9660
|
|
|
|
# Date Created: 14 Jun 2002
|
|
|
|
# Whom: wkj
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dump9660
|
|
|
|
PORTVERSION= 1.0
|
|
|
|
CATEGORIES= sysutils
|
2005-11-26 02:28:19 -05:00
|
|
|
MASTER_SITES= http://www.morphisms.net/~wkj/Software/dump9660/
|
2003-01-18 19:51:22 -05:00
|
|
|
DISTNAME= dump9660
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2005-11-26 02:28:19 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 08:28:59 -05:00
|
|
|
COMMENT= Create an ISO 9660 image, possibly incrementally
|
2003-01-18 19:51:22 -05:00
|
|
|
|
|
|
|
MAN8= mk9660.8
|
|
|
|
MAN5= proto.5
|
|
|
|
MLINKS= mk9660.8 dump9660.8
|
|
|
|
|
2003-06-29 21:08:31 -04:00
|
|
|
ONLY_FOR_ARCHS= alpha i386 powerpc
|
2005-04-11 23:26:56 -04:00
|
|
|
OBJTYPE= ${MACHINE_ARCH:S/i386/386/:S/powerpc/power/}
|
2003-06-29 21:08:31 -04:00
|
|
|
MAKE_ENV= systype=${OPSYS} objtype=${OBJTYPE}
|
2003-01-18 19:51:22 -05:00
|
|
|
|
|
|
|
post-patch:
|
2003-06-29 21:08:31 -04:00
|
|
|
${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
|
2003-01-18 19:51:22 -05:00
|
|
|
|
2003-06-29 21:08:31 -04:00
|
|
|
.include <bsd.port.mk>
|