mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
8b1dce6212
PR: ports/138700 Submitted by: bf <bf1783 at gmail.com> (maintainer)
48 lines
1.1 KiB
Makefile
48 lines
1.1 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.13
|
|
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= bf1783@gmail.com
|
|
COMMENT= The GNU Scientific Library - mathematical libs
|
|
|
|
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
|
|
|
|
regression-test:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} check
|
|
|
|
.include <bsd.port.mk>
|