freebsd-ports/math/laspack/Makefile
Pav Lucistnik feb756c1d6 - Simplify build
- Add (disabled) regression test target
- Update WWW
- Update master sites

PR:		ports/124920
Submitted by:	Pedro F. Giffuni <pfgshield-freebsd@yahoo.com>
2008-07-08 11:50:37 +00:00

38 lines
861 B
Makefile

# New ports collection makefile for: LASPack
# Date created: 27 July 2005
# Whom: giffunip
#
# $FreeBSD$
#
PORTNAME= laspack
PORTVERSION= 1.12.2
CATEGORIES= math
MASTER_SITES= http://netlib.sandia.gov/linalg/ \
http://www.netlib.org/linalg/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Package for solving large sparse systems of linear equations
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile
MAKE_ENV+= HOME=${PREFIX}
post-patch:
@${REINPLACE_CMD} -e 's+/usr/local+${LOCALBASE}+g' ${WRKSRC}/${MAKEFILE}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${DOCSDIR}
.endif
.ifdef MAINTAINER_MODE
regression-test:
@cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} ./install
@cd ${WRKSRC}/check && ${SETENV} HOME=${WRKDIR} ./check
.endif
.include <bsd.port.mk>