[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / filesystems / fuse-unionfs

File: [cvs.NetBSD.org] / pkgsrc / filesystems / fuse-unionfs / Makefile (download)

Revision 1.6, Sat Aug 19 00:20:50 2017 UTC (3 years, 1 month ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.5: +3 -3 lines

filesystems/fuse-unionfs: Install manpages into ${PKGMANDIR}.

This package uses a custom "do-install" target to install all of
the package's files.  Change the command to install the manpage to
put it under ${PKGMANDIR}.

# $NetBSD: Makefile,v 1.6 2017/08/19 00:20:50 jlam Exp $
#

DISTNAME=	v1.0
DIST_SUBDIR=	${PKGBASE}
PKGNAME=	fuse-unionfs-${DISTNAME:S/v//}
CATEGORIES=	filesystems
MASTER_SITES=	${MASTER_SITE_GITHUB:=rpodgorny/unionfs-fuse/archive/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/rpodgorny/unionfs-fuse
COMMENT=	FUSE-based union filesystem

BUILD_TARGET=	build
USE_TOOLS=	gmake pkg-config
WRKSRC=		${WRKDIR}/unionfs-fuse-${DISTNAME:S/v//}

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man8

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/unionfs \
		${DESTDIR}${PREFIX}/bin/unionfs
	${INSTALL_PROGRAM} ${WRKSRC}/src/unionfsctl \
		${DESTDIR}${PREFIX}/bin/unionfsctl
	${INSTALL_MAN} ${WRKSRC}/man/unionfs.8 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man8

.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"