pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/djbfft Convert to buildlink3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b681e420c066
branches:  trunk
changeset: 473291:b681e420c066
user:      snj <snj%pkgsrc.org@localhost>
date:      Sun Apr 18 17:51:40 2004 +0000

description:
Convert to buildlink3.

diffstat:

 math/djbfft/Makefile      |   4 +++-
 math/djbfft/buildlink2.mk |  21 ---------------------
 math/djbfft/buildlink3.mk |  19 +++++++++++++++++++
 3 files changed, 22 insertions(+), 22 deletions(-)

diffs (66 lines):

diff -r 54cbce17b9ff -r b681e420c066 math/djbfft/Makefile
--- a/math/djbfft/Makefile      Sun Apr 18 17:12:23 2004 +0000
+++ b/math/djbfft/Makefile      Sun Apr 18 17:51:40 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2003/12/24 09:53:49 jmmv Exp $
+# $NetBSD: Makefile,v 1.3 2004/04/18 17:51:40 snj Exp $
 
 DISTNAME=       djbfft-0.76
 CATEGORIES=     math
@@ -11,6 +11,8 @@
 ALL_TARGET=
 INSTALL_TARGET=        setup check
 
+USE_BUILDLINK3=        yes
+
 NOT_FOR_PLATFORM=      IRIX-*-*
 
 do-configure:
diff -r 54cbce17b9ff -r b681e420c066 math/djbfft/buildlink2.mk
--- a/math/djbfft/buildlink2.mk Sun Apr 18 17:12:23 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-BUILDLINK_PACKAGES+=                   djbfft
-BUILDLINK_PKGBASE.djbfft=              djbfft
-BUILDLINK_DEPENDS.djbfft?=             djbfft>=0.76
-BUILDLINK_PKGSRCDIR.djbfft?=           ../../math/djbfft
-
-EVAL_PREFIX+=                          BUILDLINK_PREFIX.djbfft=djbfft
-BUILDLINK_PREFIX.djbfft_DEFAULT=       ${LOCALBASE}
-BUILDLINK_FILES.djbfft=                        include/djbfft/complex4.h
-BUILDLINK_FILES.djbfft+=               include/djbfft/complex8.h
-BUILDLINK_FILES.djbfft+=                include/djbfft/fftc4.h
-BUILDLINK_FILES.djbfft+=                include/djbfft/fftc8.h
-BUILDLINK_FILES.djbfft+=                include/djbfft/fftfreq.h
-BUILDLINK_FILES.djbfft+=                include/djbfft/fftr4.h
-BUILDLINK_FILES.djbfft+=                include/djbfft/fftr8.h
-BUILDLINK_FILES.djbfft+=                include/djbfft/real4.h
-BUILDLINK_FILES.djbfft+=                include/djbfft/real8.h
-BUILDLINK_FILES.djbfft+=                lib/libdjbfft.a
-
-BUILDLINK_TARGETS+=                    djbfft-buildlink
-
-djbfft-buildlink: _BUILDLINK_USE
diff -r 54cbce17b9ff -r b681e420c066 math/djbfft/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/djbfft/buildlink3.mk Sun Apr 18 17:51:40 2004 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/18 17:51:41 snj Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+DJBFFT_BUILDLINK3_MK:= ${DJBFFT_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    djbfft
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Ndjbfft}
+BUILDLINK_PACKAGES+=   djbfft
+
+.if !empty(DJBFFT_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.djbfft+=     djbfft>=0.76
+BUILDLINK_PKGSRCDIR.djbfft?=   ../../math/djbfft
+BUILDLINK_DEPMETHOD.djbfft?=   build
+.endif # DJBFFT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index