aboutsummaryrefslogtreecommitdiffstats
path: root/cad/kaskade/Makefile
blob: 71becf609a05fd881de9161eff539635cda548d1 (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
40
# 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

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>