summaryrefslogtreecommitdiff
path: root/cad/felt/Makefile
blob: 43dd3881b6961f89b63b8e4010792f5abb6d9178 (plain)
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
# $NetBSD: Makefile,v 1.21 2003/06/02 01:21:28 jschauma Exp $

DISTNAME=		felt-3.05.src
PKGNAME=		felt-3.05
WRKSRC=			${WRKDIR}/FElt-3.05
CATEGORIES=		cad
MASTER_SITES=		ftp://ftp.sourceforge.net/pub/sourceforge/felt/
DISTFILES=		felt-3.05.src.tar.gz felt-3.05.ps.gz

MAINTAINER=		tech-pkg@netbsd.org
HOMEPAGE=		http://felt.sourceforge.net/
COMMENT=		Free system for introductory level finite element analysis

EXTRACT_ONLY=		felt-3.05.src.tar.gz

USE_BUILDLINK2=		# defined
USE_X11BASE=		# defined
XAW_TYPE?=		3d

MAKE_ENV+=		CCOPTS="${CFLAGS}"
MAKE_ENV+=		LDOPTS="${LDFLAGS}"
MAKE_ENV+=		SH="${SH}"

USE_GNU_READLINE=	# uses remove_history() and history_list()

post-extract:
	@${GZCAT} ${DISTDIR}/felt-3.05.ps.gz > ${WRKSRC}/felt.ps

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/felt
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/felt
	${INSTALL_DATA} ${WRKSRC}/felt.ps ${PREFIX}/share/doc/felt
	cd ${WRKSRC} && ${INSTALL_DATA} FAQ FAQ.html README README.old	\
		COPYING CHANGELOG TODO ${PREFIX}/share/doc/felt
	${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/felt

.include "../../devel/readline/buildlink2.mk"
.include "../../mk/xaw.buildlink2.mk"

.include "../../mk/bsd.pkg.mk"