summaryrefslogtreecommitdiff
path: root/filesystems
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-09-06 12:12:40 +0000
committerwiz <wiz@pkgsrc.org>2010-09-06 12:12:40 +0000
commitc582ba690325c83e2ded58fe55d326d496cb7164 (patch)
tree390d0b026fc33a8d1e80ef64818be4bfe9df482e /filesystems
parent56be5d007295a155ac32d24276db9cc0804c2986 (diff)
downloadpkgsrc-c582ba690325c83e2ded58fe55d326d496cb7164.tar.gz
Add symlinks for libperfuse. Simplify package. Bump PKGREVISION.
Diffstat (limited to 'filesystems')
-rw-r--r--filesystems/perfuse/Makefile12
-rw-r--r--filesystems/perfuse/PLIST4
2 files changed, 10 insertions, 6 deletions
diff --git a/filesystems/perfuse/Makefile b/filesystems/perfuse/Makefile
index 844600c3819..717951b651e 100644
--- a/filesystems/perfuse/Makefile
+++ b/filesystems/perfuse/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2010/09/06 10:18:10 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2010/09/06 12:12:40 wiz Exp $
#
DISTNAME= perfuse-20100906
+PKGREVISION= 1
CATEGORIES= filesystems
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/perfuse/
EXTRACT_SUFX= .tgz
@@ -16,20 +17,21 @@ WRKSRC= ${WRKDIR}/src/
BUILD_DIRS= lib/libperfuse usr.sbin/perfused
BUILDLINK_TRANSFORM= rm:-Werror
+INSTALLATION_DIRS= include lib sbin
+
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/
+ cd ${DESTDIR}${PREFIX}/lib && \
+ ln -s libperfuse.so libperfuse.so.0 && \
+ ln -s libperfuse.so libperfuse.so.0.0
- ${INSTALL_PROGRAM_DIR} ${DESTDIR}/${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/usr.sbin/perfused/perfused \
${DESTDIR}/${PREFIX}/sbin
diff --git a/filesystems/perfuse/PLIST b/filesystems/perfuse/PLIST
index a212cd48b43..dd8ef138254 100644
--- a/filesystems/perfuse/PLIST
+++ b/filesystems/perfuse/PLIST
@@ -1,4 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 2010/08/26 14:18:08 manu Exp $
+@comment $NetBSD: PLIST,v 1.3 2010/09/06 12:12:40 wiz Exp $
include/perfuse.h
lib/libperfuse.so
+lib/libperfuse.so.0
+lib/libperfuse.so.0.0
sbin/perfused