summaryrefslogtreecommitdiff
path: root/math/djbfft/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-03-23 00:51:09 +0000
committerschmonz <schmonz@pkgsrc.org>2005-03-23 00:51:09 +0000
commit0f55d7d583c1f4900f753f49e40f8a97d857190a (patch)
tree20ee7d90c6ddce888026ccc27abd5458b6b5361c /math/djbfft/Makefile
parent6da91999932008e5d264d41e6aa7201037dbec4e (diff)
downloadpkgsrc-0f55d7d583c1f4900f753f49e40f8a97d857190a.tar.gz
Take advantage of mk/djbware.mk.
Diffstat (limited to 'math/djbfft/Makefile')
-rw-r--r--math/djbfft/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/math/djbfft/Makefile b/math/djbfft/Makefile
index 15d6a7a47f0..4736ac6a2e7 100644
--- a/math/djbfft/Makefile
+++ b/math/djbfft/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/03/13 03:25:44 schmonz Exp $
+# $NetBSD: Makefile,v 1.6 2005/03/23 00:51:10 schmonz Exp $
DISTNAME= djbfft-0.76
CATEGORIES= math
@@ -8,25 +8,19 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://pobox.com/~djb/djbfft.html
COMMENT= Extremely fast library for floating-point convolution
-BUILD_TARGET=
-INSTALL_TARGET= setup check
-
USE_BUILDLINK3= yes
+DJB_RESTRICTED= YES
NOT_FOR_PLATFORM= IRIX-*-*
-do-configure:
- ${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/conf-cc
- ${ECHO} ${CC:Q} > ${WRKSRC}/conf-ld
- ${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
.ifdef(WITH_OPT_PENTIUM)
- ${ECHO} pentium > ${WRKSRC}/conf-opt
+DJB_CONFIG_CMDS=${ECHO} pentium > conf-opt
.endif
.ifdef(WITH_OPT_PPRO)
- @${ECHO} 'ppro' > ${WRKSRC}/conf-opt
+DJB_CONFIG_CMDS=${ECHO} ppro > conf-opt
.endif
.if (${MACHINE_ARCH} == "sparc")
- @${ECHO} 'sparc' > ${WRKSRC}/conf-opt
+DJB_CONFIG_CMDS=${ECHO} sparc > conf-opt
.endif
post-extract:
@@ -39,4 +33,5 @@ post-extract:
@${ECHO} ' Pentium III like processors.'
.endif
+.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"