pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mblaze: Simplify Makefile



Module Name:	pkgsrc-wip
Committed By:	Sunil Nimmagadda <sunil%nimmagadda.net@localhost>
Pushed By:	skn
Date:		Thu Aug 16 09:28:21 2018 +0530
Changeset:	af3e9c26f0191f490421fbaef5e7ed1b6ec7ec3d

Modified Files:
	mblaze/Makefile
	mblaze/distinfo

Log Message:
mblaze: Simplify Makefile

- Set DISTNAME to mblaze-0.3.2 and remove GITHUB_PROJECT, DIST_SUBDIR,
  PKGNAME and WRKSRC.
- Regenerate distinfo.
- Include libiconv dependency.
- Use ${PKGMANDIR} instead of "man".

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=af3e9c26f0191f490421fbaef5e7ed1b6ec7ec3d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mblaze/Makefile | 11 ++++-------
 mblaze/distinfo |  8 ++++----
 2 files changed, 8 insertions(+), 11 deletions(-)

diffs:
diff --git a/mblaze/Makefile b/mblaze/Makefile
index f872a57656..caff57925a 100644
--- a/mblaze/Makefile
+++ b/mblaze/Makefile
@@ -1,22 +1,19 @@
 # $NetBSD$
 
-GITHUB_PROJECT=	mblaze
-DISTNAME=	v0.3.2
-PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
+DISTNAME=	mblaze-0.3.2
+GITHUB_TAG=	v${PKGVERSION_NOREV}
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_GITHUB:=chneukirchen/}
-DIST_SUBDIR=	${GITHUB_PROJECT}
 
 MAINTAINER=	sunil%nimmagadda.net@localhost
 HOMEPAGE=	https://github.com/chneukirchen/mblaze/
 COMMENT=	Set of Maildir utilities
 LICENSE=	public-domain
 
-WRKSRC=		${WRKDIR}/mblaze-0.3.2
-
 NO_CONFIGURE=	yes
 USE_TOOLS+=	gmake
 MAKE_FILE=	GNUmakefile
-MAKE_FLAGS+=	PREFIX=${PREFIX:Q} BINDIR=${PREFIX:Q}/bin MANDIR=${PREFIX:Q}/man
+MAKE_FLAGS+=	PREFIX=${PREFIX:Q} BINDIR=${PREFIX:Q}/bin MANDIR=${PREFIX:Q}/${PKGMANDIR}
 
+.include "../../converters/libiconv/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/mblaze/distinfo b/mblaze/distinfo
index 16334f3a94..bfb65fb91a 100644
--- a/mblaze/distinfo
+++ b/mblaze/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (mblaze/v0.3.2.tar.gz) = b28fe950a6d4e7914811cf843403532cd9ad25d1
-RMD160 (mblaze/v0.3.2.tar.gz) = c14618e74c9026f6a1962e3fdf26c0457c49dc29
-SHA512 (mblaze/v0.3.2.tar.gz) = 809d3a82e89a90bf1dce5abca97155b524290bbaa3c8100efb461f3694c4ff28ed0d1e46d3d74c2fbb96a17cd44ccee315a022d6697a470f82d8d4ee66ab7147
-Size (mblaze/v0.3.2.tar.gz) = 83884 bytes
+SHA1 (mblaze-0.3.2.tar.gz) = b28fe950a6d4e7914811cf843403532cd9ad25d1
+RMD160 (mblaze-0.3.2.tar.gz) = c14618e74c9026f6a1962e3fdf26c0457c49dc29
+SHA512 (mblaze-0.3.2.tar.gz) = 809d3a82e89a90bf1dce5abca97155b524290bbaa3c8100efb461f3694c4ff28ed0d1e46d3d74c2fbb96a17cd44ccee315a022d6697a470f82d8d4ee66ab7147
+Size (mblaze-0.3.2.tar.gz) = 83884 bytes


Home | Main Index | Thread Index | Old Index