summaryrefslogtreecommitdiffstats
path: root/math/fftpack
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
committerasami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
commit521807d38becba50804a00710cfa1b51c759a4f4 (patch)
tree26cfeb8a991d32014f9a30277d2ade973f1a937f /math/fftpack
parentf4c70db8f8fed4684d8013755f0d23c5da34733e (diff)
downloadFreeBSD-ports-521807d38becba50804a00710cfa1b51c759a4f4.zip
FreeBSD-ports-521807d38becba50804a00710cfa1b51c759a4f4.tar.gz
Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change
shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts instead of adding it to PKG_FLAGS after bsd.port.mk.
Diffstat (limited to 'math/fftpack')
-rw-r--r--math/fftpack/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/math/fftpack/Makefile b/math/fftpack/Makefile
index f96ae79..6fa72e4 100644
--- a/math/fftpack/Makefile
+++ b/math/fftpack/Makefile
@@ -3,7 +3,7 @@
# Date created: 31 October 1996
# Whom: Pedro Giffuni S.
#
-# $Id: Makefile,v 1.6 1997/11/19 01:41:27 asami Exp $
+# $Id: Makefile,v 1.7 1998/10/09 03:36:39 asami Exp $
#
DISTNAME= bihar
@@ -18,6 +18,8 @@ MAINTAINER= giffunip@asme.org
IGNOREFILES= ${DISTFILES}
EXTRACT_BEFORE_ARGS= -xf
+.include <bsd.port.pre.mk>
+
post-extract:
gunzip $(WRKSRC)/*.f.gz
@@ -31,9 +33,9 @@ post-install:
-${GZIP_CMD} ${GZIP} ${WRKSRC}/fft.doc
${CP} $(WRKSRC)/fft.doc.gz $(PREFIX)/share/doc/fftpack/
.endif
- if [ "${PORTOBJFORMAT}" = "aout" ]; then \
- ${LN} -sf libbihar.so.1 ${PREFIX}/lib/libbihar.so; \
- fi
+.if ${PORTOBJFORMAT} == "aout"
+ ${LN} -sf libbihar.so.1 ${PREFIX}/lib/libbihar.so
+.endif
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud