pkgsrc/net/aoe-vblade/Makefile

32 lines
966 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.7 2012/10/23 17:18:09 asau Exp $
DISTNAME= vblade-14
PKGNAME= aoe-vblade-14
CATEGORIES= net sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aoetools/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://aoetools.sourceforge.net/
COMMENT= ATA over Ethernet (AoE) server - thin, LAN-based storage protocol
2007-03-24 20:21:18 +01:00
ONLY_FOR_PLATFORM+= NetBSD-*-* FreeBSD-*-* Linux-*-* DragonFly-*-*
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
.include "../../mk/bsd.prefs.mk"
do-build:
2007-02-15 15:25:52 +01:00
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
cd ${WRKSRC} && ${CP} freebsd.c bsd.c && ${MAKE} PLATFORM=bsd
.elif ${OPSYS} == "Linux"
cd ${WRKSRC} && ${MAKE} PLATFORM=linux
.endif
do-install:
2008-06-12 04:14:13 +02:00
${INSTALL_PROGRAM} ${WRKSRC}/vblade ${DESTDIR}${PREFIX}/sbin/
${INSTALL_SCRIPT} ${WRKSRC}/vbladed ${DESTDIR}${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/vblade.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
.include "../../mk/bsd.pkg.mk"