blob: 34b9bbe2d0db8025eb575a9a430e06d7f9c86fc5 (
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
41
42
43
|
# $NetBSD: Makefile,v 1.35 2009/12/17 20:31:37 abs Exp $
DISTNAME= felt-3.05.src
PKGNAME= felt-3.05
PKGREVISION= 4
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=felt/}
DISTFILES= felt-3.05.src.tar.gz felt-3.05.ps.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://felt.sourceforge.net/
COMMENT= Free system for introductory level finite element analysis
EXTRACT_ONLY= felt-3.05.src.tar.gz
WRKSRC= ${WRKDIR}/FElt-3.05
USE_X11BASE= yes
USE_TOOLS+= gzcat
XAW_TYPE?= 3d
MAKE_ENV+= CCOPTS=${CFLAGS:M*:Q}
MAKE_ENV+= LDOPTS=${LDFLAGS:M*:Q}
MAKE_ENV+= SH=${SH:Q}
USE_GNU_READLINE= YES # uses remove_history() and history_list()
INSTALLATION_DIRS+= lib/X11/app-defaults share/doc/felt share/examples/felt
INSTALLATION_DIRS+= share/examples/felt share/doc/felt
PKG_DESTDIR_SUPPORT= user-destdir
post-extract:
${GZCAT} ${DISTDIR}/felt-3.05.ps.gz > ${WRKSRC}/felt.ps
post-install:
${INSTALL_DATA} ${WRKSRC}/felt.ps ${DESTDIR}${PREFIX}/share/doc/felt
cd ${WRKSRC} && ${INSTALL_DATA} FAQ FAQ.html README README.old \
COPYING CHANGELOG TODO ${DESTDIR}${PREFIX}/share/doc/felt
${INSTALL_DATA} ${WRKSRC}/examples/* ${DESTDIR}${PREFIX}/share/examples/felt
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|