pkgsrc/filesystems/perfuse/Makefile
rillig 116d562364 filesystems: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 19:26:20 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.36 2019/11/03 19:26:22 rillig Exp $
#
DISTNAME= perfuse-20190222
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
WRKSRC= ${WRKDIR}/src/
BUILD_DIRS= lib/libperfuse usr.sbin/perfused
BUILDLINK_TRANSFORM= rm:-Werror
CPPFLAGS+= -DPERFUSE_DEBUG -D_PATH_PERFUSED=\"${PREFIX}/sbin/perfused\"
CPPFLAGS.NetBSD+= -D_KERNTYPES
CFLAGS+= -g
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} ${WRKSRC}/lib/libperfuse/perfuse.h \
${DESTDIR}/${PREFIX}/include/
${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} ${WRKSRC}/usr.sbin/perfused/perfused \
${DESTDIR}/${PREFIX}/sbin
.include "../../mk/bsd.pkg.mk"