1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/math/fftpack/Makefile
Michael Haro 2262dde3ac gzip -> ${GZIP_CMD}
gzip -d  -> ${GUNZIP_CMD}
gzip -dc -> ${GZCAT}
gunzip   -> ${GUNZIP_CMD}
1999-09-04 23:39:29 +00:00

44 lines
1006 B
Makefile

# New ports collection makefile for: fftpack
# Version required: ?
# Date created: 31 October 1996
# Whom: Pedro Giffuni S.
#
# $FreeBSD$
#
DISTNAME= bihar
PKGNAME= fftpack-1.0
CATEGORIES= math
MASTER_SITES= ftp://netlib.bell-labs.com/netlib/
EXTRACT_SUFX= .tar
MAINTAINER= giffunip@asme.org
# ${DISTFILES} is automatically created from the directory contents
IGNOREFILES= ${DISTFILES}
EXTRACT_CMD= ${TAR}
EXTRACT_BEFORE_ARGS= -xf
EXTRACT_AFTER_ARGS= # empty
.include <bsd.port.pre.mk>
post-extract:
${GUNZIP} $(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
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.post.mk>