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





                                                         
                           
                                              
                                             
      

                                                         
 
                           
# New ports collection makefile for:    fftpack
# Date created:         31 October 1996
# Whom:         Pedro Giffuni S.
#
# $FreeBSD$
#

PORTNAME=   bihar
PORTVERSION=    1.0
CATEGORIES= math
MASTER_SITES=   ftp://netlib.bell-labs.com/netlib/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .tar

MAINTAINER= ports@FreeBSD.org
COMMENT=    Biharmonic equation in rectangular geometry and polar coordinates

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

USE_LDCONFIG=   yes

PORTDOCS=   fft.doc.gz

.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} ${DOCSDIR}
    -${GZIP_CMD} ${GZIP} ${WRKSRC}/fft.doc
    ${CP} $(WRKSRC)/fft.doc.gz ${DOCSDIR}
.endif
.if ${PORTOBJFORMAT} == "aout"
    ${LN} -sf libbihar.so.1 ${PREFIX}/lib/libbihar.so
.endif

.include <bsd.port.post.mk>