pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security libpe, pev: introduce a Makefile.common



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c4f036d58622
branches:  trunk
changeset: 453428:c4f036d58622
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Sun May 30 00:49:51 2021 +0000

description:
libpe, pev: introduce a Makefile.common

diffstat:

 security/libpe/Makefile        |  12 ++++--------
 security/libpe/Makefile.common |  13 +++++++++++++
 security/pev/Makefile          |  12 ++++--------
 3 files changed, 21 insertions(+), 16 deletions(-)

diffs (69 lines):

diff -r 4d86c275b84d -r c4f036d58622 security/libpe/Makefile
--- a/security/libpe/Makefile   Sat May 29 23:28:51 2021 +0000
+++ b/security/libpe/Makefile   Sun May 30 00:49:51 2021 +0000
@@ -1,18 +1,14 @@
-# $NetBSD: Makefile,v 1.1 2021/05/29 23:23:42 khorben Exp $
+# $NetBSD: Makefile,v 1.2 2021/05/30 00:49:51 khorben Exp $
 
-DISTNAME=      ${GITHUB_PROJECT}-0.81
-CATEGORIES=    security
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=merces/}
+.include "../../security/libpe/Makefile.common"
+
+DISTNAME=      ${GITHUB_PROJECT}-${PEV_VERSION}
 GITHUB_PROJECT=        libpe
 GITHUB_TAG=    ce39b127328e3863e08163962f7ecc768eb2555e
 
-MAINTAINER=    khorben%defora.org@localhost
-HOMEPAGE=      https://pev.sourceforge.io/
 COMMENT=       The PE library used by pev - the PE file toolkit
 LICENSE=       gnu-lgpl-v3
 
-USE_TOOLS+=    gmake
-
 MAKE_FLAGS+=   DESTDIR=${DESTDIR}
 MAKE_FLAGS+=   prefix=${PREFIX}
 
diff -r 4d86c275b84d -r c4f036d58622 security/libpe/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libpe/Makefile.common    Sun May 30 00:49:51 2021 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile.common,v 1.1 2021/05/30 00:49:51 khorben Exp $
+#
+# used by security/libpe/Makefile
+# used by security/pev/Makefile
+
+PEV_VERSION=   0.81
+CATEGORIES=    security
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=merces/}
+
+MAINTAINER=    khorben%defora.org@localhost
+HOMEPAGE=      https://pev.sourceforge.io/
+
+USE_TOOLS+=    gmake
diff -r 4d86c275b84d -r c4f036d58622 security/pev/Makefile
--- a/security/pev/Makefile     Sat May 29 23:28:51 2021 +0000
+++ b/security/pev/Makefile     Sun May 30 00:49:51 2021 +0000
@@ -1,18 +1,14 @@
-# $NetBSD: Makefile,v 1.9 2021/05/29 23:28:36 khorben Exp $
+# $NetBSD: Makefile,v 1.10 2021/05/30 00:49:51 khorben Exp $
 
-DISTNAME=      ${GITHUB_PROJECT}-0.81
-CATEGORIES=    security
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=merces/}
+.include "../../security/libpe/Makefile.common"
+
+DISTNAME=      ${GITHUB_PROJECT}-${PEV_VERSION}
 GITHUB_PROJECT=        pev
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 
-MAINTAINER=    khorben%defora.org@localhost
-HOMEPAGE=      https://pev.sourceforge.io/
 COMMENT=       The PE analysis toolkit
 LICENSE=       gnu-gpl-v3
 
-USE_TOOLS+=    gmake
-
 .include "../../mk/bsd.prefs.mk"
 
 MAKE_FLAGS+=   DESTDIR=${DESTDIR}



Home | Main Index | Thread Index | Old Index