aboutsummaryrefslogtreecommitdiff
path: root/math/kaskade/Makefile
blob: a37cbd3f7f1b67c2ebb5fc2ccb6e2d1ba9cc7083 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:	Kaskade
# Version required:	3.1.1
# Date created:		19 Sept. 1997
# Whom:			Pedro Giffuni
#
# $Id: Makefile,v 1.7 1999/06/22 17:51:51 steve Exp $
#

DISTNAME=	3.1.1
PKGNAME=	kaskade-3.1.1
CATEGORIES=	cad
MASTER_SITES=	ftp://ftp.zib.de/pub/kaskade/3.x/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	giffunip@asme.org

.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
USE_X_PREFIX=	yes

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>