73ef09873d
- Pet portlint PR: 56160 Submitted by: AMAKAWA Shuhei <sa264@cam.ac.uk> Approved by: maintainer timeout > 1 month
47 lines
1.1 KiB
Makefile
47 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.4
|
|
CATEGORIES= math
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
.if !defined(NOPORTDOCS)
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${GSLREF} ${GSLREFHTML}
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
.endif
|
|
|
|
MAINTAINER= vlad@reid.ru
|
|
COMMENT= The GNU Scientific Library - mathematical libs
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_SHLIB= 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
|
|
GSLREFHTML= gsl-ref-html.tar.gz
|
|
IGNOREFILES= ${GSLREF} ${GSLREFHTML}
|
|
|
|
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}
|
|
tar xfz ${_DISTDIR}/${GSLREFHTML} -C ${PREFIX}/share/doc/gsl
|
|
cd ${PREFIX}/share/doc/gsl && ${LN} -s gsl-ref-html html
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|