# $NetBSD: Makefile,v 1.4 2006/03/04 21:30:41 jlam Exp $
#

DISTNAME=		fastfs.c
PKGNAME=		fastfs-19940614
CATEGORIES=		sysutils
MASTER_SITES=		http://www.squirrel.com/squirrel/
EXTRACT_SUFX=		# empty

MAINTAINER=		pkgsrc-users@NetBSD.org
COMMENT=		Turn on/off delayed IO on a file system

ONLY_FOR_PLATFORM=	SunOS-*-*

WRKSRC=			${WRKDIR}/fastfs
NO_CONFIGURE=		yes
INSTALLATION_DIRS=	sbin

do-extract:
	@${MKDIR} ${WRKSRC}
	@${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}

do-build:
	cd ${WRKSRC} && ${CC} ${CFLAGS} ${DISTNAME} -o ${DISTNAME:S/.c//}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:S/.c//} ${PREFIX}/sbin

.include "../../mk/bsd.pkg.mk"