From aecb696681ee4ab0bf5409ae5b0f4c68f03a0c01 Mon Sep 17 00:00:00 2001 From: gdt Date: Thu, 5 Oct 2006 14:55:21 +0000 Subject: split Makefile into Makefile.common for impending py-fann package. Add bl3. --- devel/fann/Makefile | 9 ++------- devel/fann/Makefile.common | 9 +++++++++ devel/fann/buildlink3.mk | 18 ++++++++++++++++++ 3 files changed, 29 insertions(+), 7 deletions(-) create mode 100644 devel/fann/Makefile.common create mode 100644 devel/fann/buildlink3.mk (limited to 'devel') diff --git a/devel/fann/Makefile b/devel/fann/Makefile index 73e84dee006..c524c8a8392 100644 --- a/devel/fann/Makefile +++ b/devel/fann/Makefile @@ -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 -HOMEPAGE= http://leenissen.dk/fann/ COMMENT= Fast Artificial Neural Network USE_PKGLOCALEDIR= yes diff --git a/devel/fann/Makefile.common b/devel/fann/Makefile.common new file mode 100644 index 00000000000..1c5009a27d6 --- /dev/null +++ b/devel/fann/Makefile.common @@ -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 +HOMEPAGE= http://leenissen.dk/fann/ diff --git a/devel/fann/buildlink3.mk b/devel/fann/buildlink3.mk new file mode 100644 index 00000000000..9ae2e97b297 --- /dev/null +++ b/devel/fann/buildlink3.mk @@ -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/+$//} -- cgit v1.2.3