summaryrefslogtreecommitdiff
path: root/filesystems/perfuse/Makefile
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2010-08-25 07:34:11 +0000
committermanu <manu@pkgsrc.org>2010-08-25 07:34:11 +0000
commita85d3f0b256c898c84011e901b19fb1f832b1277 (patch)
treef8be90ecfb2d8616ad527062ca4d26e6a0eca375 /filesystems/perfuse/Makefile
parent02eab048a0ff481675ed5adc6268a37ff788bc21 (diff)
downloadpkgsrc-a85d3f0b256c898c84011e901b19fb1f832b1277.tar.gz
perfuse brings full FUSE support to NetBSD It has two components:
- a daemon that creates a /dev/fuse socket and that performs PUFFS relay to FUSE. - a library and a header file to use in filesystems and libraries that open /dev/fuse, so that they are directed to the socket.
Diffstat (limited to 'filesystems/perfuse/Makefile')
-rw-r--r--filesystems/perfuse/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/filesystems/perfuse/Makefile b/filesystems/perfuse/Makefile
new file mode 100644
index 00000000000..9123f9359eb
--- /dev/null
+++ b/filesystems/perfuse/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/08/25 07:34:11 manu Exp $
+#
+
+DISTNAME= perfuse-20100825
+CATEGORIES= filesystems
+MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/perfuse/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= manu@NetBSD.org
+COMMENT= PUFFS Enabled Relay to FUSE
+LICENSE= 2-clause-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/src/
+BUILD_DIRS= lib/libperfuse usr.sbin/perfused
+
+pre-build:
+ ${LN} -s ${WRKSRC}/lib/libperfuse/perfuse.h ${BUILDLINK_DIR}/include/
+ ${LN} -s ${WRKSRC}/lib/libperfuse/libperfuse.so ${BUILDLINK_DIR}/lib
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}/${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/lib/libperfuse/perfuse.h \
+ ${DESTDIR}/${PREFIX}/include/
+
+ ${INSTALL_LIB_DIR} ${DESTDIR}/${PREFIX}/lib
+ ${INSTALL_LIB} ${WRKSRC}/lib/libperfuse/libperfuse.so \
+ ${DESTDIR}/${PREFIX}/lib/
+
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}/${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/usr.sbin/perfused/perfused \
+ ${DESTDIR}/${PREFIX}/sbin
+
+.include "../../mk/bsd.pkg.mk"