# 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 PORTCOMMENT= Adaptive linear scalar elliptic and parabolic problem solver USE_X_PREFIX= yes .include .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