1997-02-14 08:53:05 +00:00
|
|
|
# New ports collection makefile for: fftpack
|
|
|
|
# Version required: ?
|
|
|
|
# Date created: 31 October 1996
|
1997-11-16 09:48:15 +00:00
|
|
|
# Whom: Pedro Giffuni S.
|
1997-02-14 08:53:05 +00:00
|
|
|
#
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1997-02-14 08:53:05 +00:00
|
|
|
#
|
|
|
|
|
1997-11-16 09:48:15 +00:00
|
|
|
DISTNAME= bihar
|
1997-02-14 08:53:05 +00:00
|
|
|
PKGNAME= fftpack-1.0
|
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ftp://netlib.bell-labs.com/netlib/
|
|
|
|
EXTRACT_SUFX= .tar
|
|
|
|
|
1997-11-16 09:48:15 +00:00
|
|
|
MAINTAINER= giffunip@asme.org
|
1997-02-14 08:53:05 +00:00
|
|
|
|
|
|
|
# ${DISTFILES} is automatically created from the directory contents
|
|
|
|
IGNOREFILES= ${DISTFILES}
|
1999-02-03 11:12:01 +00:00
|
|
|
EXTRACT_CMD= ${TAR}
|
1997-11-16 09:48:15 +00:00
|
|
|
EXTRACT_BEFORE_ARGS= -xf
|
1999-02-03 11:12:01 +00:00
|
|
|
EXTRACT_AFTER_ARGS= # empty
|
1997-02-14 08:53:05 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1997-02-14 08:53:05 +00:00
|
|
|
post-extract:
|
1999-09-04 23:39:29 +00:00
|
|
|
${GUNZIP} $(WRKSRC)/*.f.gz
|
1997-02-14 08:53:05 +00:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
${RM} $(WRKSRC)/.depend
|
|
|
|
${CP} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
1997-11-16 09:48:15 +00:00
|
|
|
${MKDIR} $(PREFIX)/share/doc/fftpack
|
1997-11-19 01:41:27 +00:00
|
|
|
-${GZIP_CMD} ${GZIP} ${WRKSRC}/fft.doc
|
|
|
|
${CP} $(WRKSRC)/fft.doc.gz $(PREFIX)/share/doc/fftpack/
|
1997-02-14 08:53:05 +00:00
|
|
|
.endif
|
1998-11-14 09:43:39 +00:00
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
|
|
${LN} -sf libbihar.so.1 ${PREFIX}/lib/libbihar.so
|
|
|
|
.endif
|
1998-10-09 03:36:39 +00:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1997-02-14 08:53:05 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|