From 11b469fec5b21b927d29e14e1bf683ce85b48a1d Mon Sep 17 00:00:00 2001 From: leot Date: Mon, 17 Sep 2018 14:33:35 +0000 Subject: fuse-unionfs: Simplify the package a bit - MASTER_SITE_GITHUB only needs the repository owner username, adjust it in DISTNAME in order to avoid DIST_SUBDIR and WRKSRC redefinition - Add LICENSE - Append to USE_TOOLS - Both INSTALLATION_DIRS and pre-install target are not needed because it is done via Makefile (needed a little adjustements of patch-Makefile `install -d' of ${MANDIR}) Last item discussed with (any possible regression is mine though!) --- filesystems/fuse-unionfs/Makefile | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'filesystems/fuse-unionfs/Makefile') diff --git a/filesystems/fuse-unionfs/Makefile b/filesystems/fuse-unionfs/Makefile index c6e331cf533..330af69afc8 100644 --- a/filesystems/fuse-unionfs/Makefile +++ b/filesystems/fuse-unionfs/Makefile @@ -1,30 +1,23 @@ -# $NetBSD: Makefile,v 1.7 2018/09/17 14:03:08 maya Exp $ -# +# $NetBSD: Makefile,v 1.8 2018/09/17 14:33:35 leot Exp $ -DISTNAME= v2.0 -DIST_SUBDIR= ${PKGBASE} -PKGNAME= fuse-unionfs-${DISTNAME:S/v//} +DISTNAME= unionfs-fuse-2.0 +PKGNAME= ${DISTNAME:S/unionfs-fuse/fuse-unionfs/} CATEGORIES= filesystems -MASTER_SITES= ${MASTER_SITE_GITHUB:=rpodgorny/unionfs-fuse/archive/} +MASTER_SITES= ${MASTER_SITE_GITHUB:=rpodgorny/} +GITHUB_PROJECT= unionfs-fuse +GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/rpodgorny/unionfs-fuse COMMENT= FUSE-based union filesystem +LICENSE= modified-bsd BUILD_TARGET= build -USE_TOOLS= gmake pkg-config bash:run -WRKSRC= ${WRKDIR}/unionfs-fuse-${DISTNAME:S/v//} +USE_TOOLS+= gmake pkg-config bash:run REPLACE_BASH+= mount.unionfs MAKE_ENV+= MANDIR=${PKGMANDIR} -INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 .include "../../mk/fuse.buildlink3.mk" - -pre-install: - mkdir -p ${DESTDIR}${PREFIX}/bin - mkdir -p ${DESTDIR}${PREFIX}/sbin - mkdir -p ${DESTDIR}${PREFIX}${PKGMANDIR}/man8 - .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3