ports/net/vblade/files/patch-makefile
Max Khon da8f955a78 New port: The vblade is the virtual EtherDrive (R) blade, a program that
makes a seekable file available over an ethernet local area network (LAN)
via the ATA over Ethernet (AoE) protocol.

The seekable file is typically a block device like /dev/md0 but even
regular files will work.  Sparse files can be especially convenient.
When vblade exports the block storage over AoE it becomes a storage
target.  Another host on the same LAN can access the storage if it has
a compatible aoe kernel driver.
2010-09-14 13:33:53 +00:00

25 lines
643 B
Text

--- makefile.orig 2008-10-09 04:07:40.000000000 +0700
+++ makefile 2010-09-13 20:48:07.000000000 +0700
@@ -3,10 +3,9 @@
# see README for others
PLATFORM=linux
-prefix = /usr
+prefix = ${PREFIX}
sbindir = ${prefix}/sbin
-sharedir = ${prefix}/share
-mandir = ${sharedir}/man
+mandir = ${prefix}/man
O=aoe.o bpf.o ${PLATFORM}.o ata.o
CFLAGS += -Wall -g -O2
@@ -38,6 +37,6 @@
rm -f $O vblade
install : vblade vbladed
- install vblade ${sbindir}/
- install vbladed ${sbindir}/
- install vblade.8 ${mandir}/man8/
+ ${INSTALL_PROGRAM} vblade ${sbindir}/
+ ${INSTALL_SCRIPT} vbladed ${sbindir}/
+ ${INSTALL_MAN} vblade.8 ${mandir}/man8/