freebsd-ports/math/fftpack/Makefile
2000-10-24 00:41:28 +00:00

47 lines
1004 B
Makefile

# New ports collection makefile for: fftpack
# Date created: 31 October 1996
# Whom: Pedro Giffuni S.
#
# $FreeBSD$
#
PORTNAME= fftpack
PORTVERSION= 1.0
CATEGORIES= math
MASTER_SITES= ftp://netlib.bell-labs.com/netlib/
DISTNAME= bihar
EXTRACT_SUFX= .tar
MAINTAINER= giffunip@asme.org
LIB_DEPENDS= linpack.1:${PORTSDIR}/math/linpack
# ${DISTFILES} is automatically created from the directory contents
IGNOREFILES= ${DISTFILES}
EXTRACT_CMD= ${TAR}
EXTRACT_BEFORE_ARGS= -xf
EXTRACT_AFTER_ARGS= # empty
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
post-extract:
${GUNZIP_CMD} $(WRKSRC)/*.f.gz
pre-build:
${RM} $(WRKSRC)/.depend
${CP} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} $(PREFIX)/share/doc/fftpack
-${GZIP_CMD} ${GZIP} ${WRKSRC}/fft.doc
${CP} $(WRKSRC)/fft.doc.gz $(PREFIX)/share/doc/fftpack/
.endif
.if ${PORTOBJFORMAT} == "aout"
${LN} -sf libbihar.so.1 ${PREFIX}/lib/libbihar.so
.endif
.include <bsd.port.post.mk>