# New ports collection makefile for:    hfs
# Date created:         17 November 1994
# Whom:                 jmz
#
# $FreeBSD: ports/emulators/hfs/Makefile,v 1.21 2008/11/29 00:11:51 linimon Exp $
#

PORTNAME=	hfs
PORTVERSION=	0.37
PORTREVISION=	1
CATEGORIES=	emulators
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	jmz
DISTNAME=	${PORTNAME}${PORTVERSION:S/./_/}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Read Macintosh HFS floppy disks, hard drives and CDROMs

CONFLICTS=	hfsutils-[0-9]*

USE_GMAKE=	yes
MAN1=		hfs.1
PLIST_FILES=	bin/hfs

post-patch:
	@${REINPLACE_CMD} -e 's|Volume::Enumerate|Enumerate|' \
		${WRKSRC}/volume.h

pre-install:
	@${MKDIR} ${PREFIX}/bin
	@${MKDIR} ${PREFIX}/man/man1

.include <bsd.port.mk>
