pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/fann split Makefile into Makefile.common for imp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac5dfcf0f244
branches:  trunk
changeset: 519570:ac5dfcf0f244
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Thu Oct 05 14:55:21 2006 +0000

description:
split Makefile into Makefile.common for impending py-fann package.
Add bl3.

diffstat:

 devel/fann/Makefile        |   9 ++-------
 devel/fann/Makefile.common |   9 +++++++++
 devel/fann/buildlink3.mk   |  18 ++++++++++++++++++
 3 files changed, 29 insertions(+), 7 deletions(-)

diffs (53 lines):

diff -r f76a9b9e7fe6 -r ac5dfcf0f244 devel/fann/Makefile
--- a/devel/fann/Makefile       Thu Oct 05 14:27:37 2006 +0000
+++ b/devel/fann/Makefile       Thu Oct 05 14:55:21 2006 +0000
@@ -1,12 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/10/04 20:12:34 gdt Exp $
-#
+# $NetBSD: Makefile,v 1.2 2006/10/05 14:55:21 gdt Exp $
 
-DISTNAME=              fann-2.0.0
-CATEGORIES=            devel
-MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=fann/}
+.include "Makefile.common"
 
-MAINTAINER=            gdt%NetBSD.org@localhost
-HOMEPAGE=              http://leenissen.dk/fann/
 COMMENT=               Fast Artificial Neural Network
 
 USE_PKGLOCALEDIR=      yes
diff -r f76a9b9e7fe6 -r ac5dfcf0f244 devel/fann/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/fann/Makefile.common        Thu Oct 05 14:55:21 2006 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile.common,v 1.1 2006/10/05 14:55:21 gdt Exp $
+
+FANNVERSION=           2.0.0
+DISTNAME=              fann-${FANNVERSION}
+CATEGORIES=            devel
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=fann/}
+
+MAINTAINER=            gdt%NetBSD.org@localhost
+HOMEPAGE=              http://leenissen.dk/fann/
diff -r f76a9b9e7fe6 -r ac5dfcf0f244 devel/fann/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/fann/buildlink3.mk  Thu Oct 05 14:55:21 2006 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2006/10/05 14:55:21 gdt Exp $
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+FANN_BUILDLINK3_MK:=   ${FANN_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    fann
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nfann}
+BUILDLINK_PACKAGES+=   fann
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fann
+
+.if ${FANN_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.fann+=   fann>=2.0.0
+BUILDLINK_PKGSRCDIR.fann?=     ../../devel/fann
+.endif # FANN_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index