mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
42 lines
927 B
Makefile
42 lines
927 B
Makefile
# New ports collection makefile for: Kaskade
|
|
# Date created: 19 Sept. 1997
|
|
# Whom: Pedro Giffuni
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kaskade
|
|
PORTVERSION= 3.1.1
|
|
CATEGORIES= cad
|
|
MASTER_SITES= ftp://ftp.zib.de/pub/kaskade/3.x/
|
|
DISTNAME= ${PORTVERSION}
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Adaptive linear scalar elliptic and parabolic problem solver
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${OSVERSION} >= 400004
|
|
MAKE_ENV+= HAVE_G2C=yes
|
|
.endif
|
|
|
|
DIST_SUBDIR= kaskade
|
|
WRKSRC= ${WRKDIR}/3.1
|
|
MAKEFILE= makefile
|
|
ALL_TARGET= k6
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/k6 ${PREFIX}/bin
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/examples/kaskade
|
|
${INSTALL_DATA} ${WRKSRC}/*.cmd ${PREFIX}/share/examples/kaskade
|
|
${INSTALL_DATA} ${WRKSRC}/*.geo ${PREFIX}/share/examples/kaskade
|
|
${INSTALL_DATA} ${WRKSRC}/*.mat ${PREFIX}/share/examples/kaskade
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|