a17cce4f2e
- Pacify portlint
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# vim: tabstop=8 softtabstop=0 noexpandtab
|
|
# Ports Makefile for: jags
|
|
# Date created: 21 April 2004
|
|
# Whom: Eric van Gyzen <vangyzen@stat.duke.edu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jags
|
|
PORTVERSION= 0.90
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://www-fis.iarc.fr/~martyn/software/jags/
|
|
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
|
|
.if !defined(NOPORTDOCS)
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} bugs-examples.tar.gz manual.pdf
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
.endif
|
|
|
|
MAINTAINER= eric+fbports@vangyzen.net
|
|
COMMENT= Just Another Gibbs Sampler
|
|
|
|
LIB_DEPENDS= Rmath.0:${PORTSDIR}/math/libRmath
|
|
|
|
.if defined(WITH_ATLAS)
|
|
LIB_DEPENDS+= f77blas.1:${PORTSDIR}/math/atlas
|
|
CONFIGURE_ARGS= --with-lapack=-lalapack --with-blas=-lf77blas
|
|
.else
|
|
LIB_DEPENDS+= lapack.3:${PORTSDIR}/math/lapack
|
|
CONFIGURE_ARGS= --with-lapack=-llapack --with-blas=-lblas
|
|
.endif
|
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS=-I${PREFIX}/include LDFLAGS=-L${PREFIX}/lib
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= "Does not compile on 4.x"
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/manual.pdf ${DOCSDIR}
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
( cd ${EXAMPLESDIR}; \
|
|
${PAX} -rzf ${DISTDIR}/${DIST_SUBDIR}/bugs-examples.tar.gz \
|
|
-s ':^bugs-examples/*::' )
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|