summaryrefslogblamecommitdiff
path: root/math/bihar/Makefile
blob: f96ae79d5ccf12a2795e0681df880e26669e4d84 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                               
                                        
 
                                                     

 
                     



                                                  
 
                                 


                                                                   
                           

             
                               






                                                         
                                            

                                                               
      



                                                                         

                      
# New ports collection makefile for:    fftpack
# Version required:     ?
# Date created:         31 October 1996
# Whom:			Pedro Giffuni S.
#
# $Id: Makefile,v 1.6 1997/11/19 01:41:27 asami Exp $
#

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_BEFORE_ARGS=	-xf

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" ]; then \
		${LN} -sf libbihar.so.1 ${PREFIX}/lib/libbihar.so; \
	fi
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>