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
|
|
|
#
|
1998-10-09 03:36:39 +00:00
|
|
|
# $Id: Makefile,v 1.6 1997/11/19 01:41:27 asami Exp $
|
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}
|
1997-11-16 09:48:15 +00:00
|
|
|
EXTRACT_BEFORE_ARGS= -xf
|
1997-02-14 08:53:05 +00:00
|
|
|
|
|
|
|
post-extract:
|
1997-11-13 12:55:19 +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-10-09 03:36:39 +00:00
|
|
|
if [ "${PORTOBJFORMAT}" = "aout" ]; then \
|
|
|
|
${LN} -sf libbihar.so.1 ${PREFIX}/lib/libbihar.so; \
|
|
|
|
fi
|
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1997-02-14 08:53:05 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|