summaryrefslogtreecommitdiff
path: root/sysutils/fastfs/Makefile
blob: 8b3ac767508d9782e90dec51b8fdefd415a78f7a (plain)
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
# $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"