1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/math/gsl/Makefile
2011-11-09 15:26:04 +00:00

57 lines
1.2 KiB
Makefile

# New ports collection makefile for: gsl
# Date created: 15 Feb 2000
# Whom: Andrew L. Neporada <andrew@chg.ru>
#
# $FreeBSD$
#
PORTNAME= gsl
PORTVERSION= 1.15
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU:S/$/:gsl/} \
http://www.gnu.org/software/${PORTNAME}/manual/:gslref
MASTER_SITE_SUBDIR= ${PORTNAME}/:gsl
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gsl
.if !defined(NOPORTDOCS)
DISTFILES+= ${GSLREF}:gslref
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
.endif
MAINTAINER= bf@FreeBSD.org
COMMENT= The GNU Scientific Library - mathematical libs
LICENSE= GPLv3
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= MAKEINFO='makeinfo --no-split'
MAN1= gsl-config.1 gsl-randist.1 gsl-histogram.1
MAN3= gsl.3
INFO= gsl-ref
GSLREF= gsl-ref.ps.gz
IGNOREFILES= ${GSLREF}
post-extract:
@${RM} -f ${WRKSRC}/doc/gsl-ref.info*
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/gsl
${INSTALL_DATA} ${_DISTDIR}/${GSLREF} ${PREFIX}/share/doc/gsl
${GUNZIP_CMD} ${PREFIX}/share/doc/gsl/${GSLREF}
.endif
check regression-test test: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \
${MAKE_ARGS} check)
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc
.endif
.include <bsd.port.post.mk>