pkgsrc-WIP-changes archive

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

Create a common Makefile for {,py-}deepstate



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Tue May 8 09:42:08 2018 +0200
Changeset:	c36646717532abafce008bbf9e586a63aa00eee0

Modified Files:
	deepstate/Makefile
	py-deepstate/Makefile
Added Files:
	deepstate/Makefile.common

Log Message:
Create a common Makefile for {,py-}deepstate

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

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

diffstat:
 deepstate/Makefile        | 14 +++-----------
 deepstate/Makefile.common | 15 +++++++++++++++
 py-deepstate/Makefile     | 13 ++-----------
 3 files changed, 20 insertions(+), 22 deletions(-)

diffs:
diff --git a/deepstate/Makefile b/deepstate/Makefile
index 29fce3c567..7f98122c54 100644
--- a/deepstate/Makefile
+++ b/deepstate/Makefile
@@ -1,15 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2018/02/22 23:41:31 khorben Exp $
+# $NetBSD$
 
-DISTNAME=	deepstate-0.0.0
-CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=trailofbits/}
-GITHUB_PROJECT=	deepstate
-GITHUB_TAG=	ca5fada9f4653b6c808fc079907c9a90fb5b057b
-
-MAINTAINER=	khorben%defora.org@localhost
-HOMEPAGE=	https://github.com/trailofbits/deepstate/
-COMMENT=	Augments C/C++ Test-Driven Development with Symbolic Execution
-LICENSE=	apache-2.0
 
 USE_LANGUAGES=	c99 c++
 USE_CMAKE=	yes
@@ -47,5 +38,6 @@ post-install:
 	${MV} ${FAKEHOMEDIR}/.local/bin/futurize ${DESTDIR}${PREFIX}/bin
 	${MV} ${FAKEHOMEDIR}/.local/bin/pasteurize ${DESTDIR}${PREFIX}/bin
 
-.include "../../lang/python/extension.mk"
+.include "Makefile.common"
+.include "../../lang/python/pyversion.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/deepstate/Makefile.common b/deepstate/Makefile.common
new file mode 100644
index 0000000000..59f7228f55
--- /dev/null
+++ b/deepstate/Makefile.common
@@ -0,0 +1,15 @@
+# $NetBSD$
+#
+# used by wip/deepstate/Makefile
+# user by wip/py-deepstate/Makefile
+
+DISTNAME=	deepstate-0.0.0
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=trailofbits/}
+GITHUB_PROJECT=	deepstate
+GITHUB_TAG=	ca5fada9f4653b6c808fc079907c9a90fb5b057b
+
+MAINTAINER=	khorben%defora.org@localhost
+HOMEPAGE=	https://github.com/trailofbits/deepstate/
+COMMENT=	Augments C/C++ Test-Driven Development with Symbolic Execution
+LICENSE=	apache-2.0
diff --git a/py-deepstate/Makefile b/py-deepstate/Makefile
index a6a73acf99..2f43c725b0 100644
--- a/py-deepstate/Makefile
+++ b/py-deepstate/Makefile
@@ -1,16 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2018/02/22 23:41:31 khorben Exp $
+# $NetBSD$
 
-DISTNAME=	deepstate-0.0.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_GITHUB:=trailofbits/}
-GITHUB_PROJECT=	deepstate
-GITHUB_TAG=	ca5fada9f4653b6c808fc079907c9a90fb5b057b
-
-MAINTAINER=	khorben%defora.org@localhost
-HOMEPAGE=	https://github.com/trailofbits/deepstate/
-COMMENT=	Augments C/C++ Test-Driven Development with Symbolic Execution
-LICENSE=	apache-2.0
 
 USE_LANGUAGES=	c99 c++
 USE_CMAKE=	yes
@@ -27,5 +17,6 @@ PYSETUPSUBDIR=	build
 pre-configure:
 	${MKDIR} ${WRKSRC}/build
 
+.include "../../wip/deepstate/Makefile.common"
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index