summaryrefslogtreecommitdiff
path: root/math/fftpack/Makefile
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2000-11-30 00:40:20 +0000
committerjtb <jtb@pkgsrc.org>2000-11-30 00:40:20 +0000
commit3b70b17021893317f8a3b3f9e21f09c10d9c53bb (patch)
tree99645730bbd28691cc16bc36d804b1f4006d4a3a /math/fftpack/Makefile
parenta4c20963c9d3697324e50e3fa4cd5cddee56b263 (diff)
downloadpkgsrc-3b70b17021893317f8a3b3f9e21f09c10d9c53bb.tar.gz
A tar file of "fftpack" is now in LOCAL_PORTS
Diffstat (limited to 'math/fftpack/Makefile')
-rw-r--r--math/fftpack/Makefile53
1 files changed, 15 insertions, 38 deletions
diff --git a/math/fftpack/Makefile b/math/fftpack/Makefile
index 3f1bcda7c8c..89cae0a2d62 100644
--- a/math/fftpack/Makefile
+++ b/math/fftpack/Makefile
@@ -1,45 +1,22 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/11/28 02:17:00 jtb Exp $
-
-DISTNAME= fftpack
-PKGNAME= fftpack-4.0
-CATEGORIES= math
-MASTER_SITES= ftp://netlib.bell-labs.com/netlib/fftpack/ \
- ftp://netlib.no/netlib/fftpack/ \
- ftp://ftp.zib.de/netlib/fftpack/ \
- ftp://www.hensa.ac.uk/mirrors/netlib/fftpack/
-DISTFILES= ${SRCS:.f=.f.gz} doc.gz
-
-MAINTAINER= jtb@netbsd.org
-
-DIST_SUBDIR= ${DISTNAME}
-NO_WRKSUBDIR= YES
-
-USE_LIBTOOL= YES
-UES_FORTRAN= YES
-
-FOPTS?= -O2
-MAKE_ENV+= "FFLAGS=${FOPTS}"
-
-SRCS = cfftb.f cosqf1.f passb2.f radb2.f radfg.f \
- sinqi.f cfftb1.f cosqi.f passb3.f radb3.f rfftb.f \
- sint.f cfftf.f cost.f passb4.f radb4.f rfftb1.f \
- sint1.f cfftf1.f costi.f passb5.f radb5.f rfftf.f \
- sinti.f cffti.f ezfft1.f passf.f radbg.f rfftf1.f \
- test.f cffti1.f ezfftb.f passf2.f radf2.f rffti.f \
- cosqb.f ezfftf.f passf3.f radf3.f rffti1.f cosqb1.f \
- ezffti.f passf4.f radf4.f sinqb.f cosqf.f passb.f \
- passf5.f radf5.f sinqf.f
+# $NetBSD: Makefile,v 1.2 2000/11/30 00:40:20 jtb Exp $
-.include "../../mk/bsd.prefs.mk"
+DISTNAME= fftpack-20001129
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+
+MAINTAINER= jtb@netbsd.org
+
+WRKSRC= ${WRKDIR}/fftpack
-do-extract:
- @${MKDIR} ${WRKDIR}
- @for f in ${SRCS} ; do \
- ${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/$$f.gz > ${WRKSRC}/$$f ; done
- @${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/doc.gz > ${WRKSRC}/doc
+USE_LIBTOOL= YES
+UES_FORTRAN= YES
+
+FOPTS?= -O2
+
+.include "../../mk/bsd.prefs.mk"
post-extract:
- @${SED} -e 's:%%FORTRAN%%:'${FC}':g' \
+ @${SED} -e 's:%%FORTRAN%%:'${FC}':g;s:%%FOPTS%%:'${FOPTS}':g' \
< ${FILESDIR}/Makefile > ${WRKSRC}/Makefile
post-install: