2009-12-17 20:58:19 +01:00
|
|
|
# $NetBSD: Makefile,v 1.35 2009/12/17 20:31:37 abs Exp $
|
2001-05-04 00:02:59 +02:00
|
|
|
|
|
|
|
DISTNAME= felt-3.05.src
|
|
|
|
PKGNAME= felt-3.05
|
2009-05-20 02:58:05 +02:00
|
|
|
PKGREVISION= 4
|
2001-05-04 00:02:59 +02:00
|
|
|
CATEGORIES= cad
|
2009-05-17 02:03:13 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=felt/}
|
2001-05-04 00:02:59 +02:00
|
|
|
DISTFILES= felt-3.05.src.tar.gz felt-3.05.ps.gz
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-05-04 00:02:59 +02:00
|
|
|
HOMEPAGE= http://felt.sourceforge.net/
|
|
|
|
COMMENT= Free system for introductory level finite element analysis
|
|
|
|
|
|
|
|
EXTRACT_ONLY= felt-3.05.src.tar.gz
|
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/FElt-3.05
|
2005-09-28 22:52:18 +02:00
|
|
|
USE_X11BASE= yes
|
2009-12-17 20:58:19 +01:00
|
|
|
USE_TOOLS+= gzcat
|
2001-05-13 16:34:08 +02:00
|
|
|
XAW_TYPE?= 3d
|
2000-11-28 00:28:23 +01:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= CCOPTS=${CFLAGS:M*:Q}
|
|
|
|
MAKE_ENV+= LDOPTS=${LDFLAGS:M*:Q}
|
|
|
|
MAKE_ENV+= SH=${SH:Q}
|
2001-05-22 18:48:59 +02:00
|
|
|
|
2009-12-17 20:58:19 +01:00
|
|
|
USE_GNU_READLINE= YES # uses remove_history() and history_list()
|
2001-05-22 18:48:59 +02:00
|
|
|
|
2009-12-17 20:58:19 +01:00
|
|
|
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
|
2007-03-24 20:21:18 +01:00
|
|
|
|
2000-12-14 03:07:43 +01:00
|
|
|
post-extract:
|
2009-12-17 20:58:19 +01:00
|
|
|
${GZCAT} ${DISTDIR}/felt-3.05.ps.gz > ${WRKSRC}/felt.ps
|
2000-12-14 03:07:43 +01:00
|
|
|
|
2000-11-28 00:28:23 +01:00
|
|
|
post-install:
|
2009-12-17 20:58:19 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/felt.ps ${DESTDIR}${PREFIX}/share/doc/felt
|
2001-04-30 22:56:51 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} FAQ FAQ.html README README.old \
|
2009-12-17 20:58:19 +01:00
|
|
|
COPYING CHANGELOG TODO ${DESTDIR}${PREFIX}/share/doc/felt
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${DESTDIR}${PREFIX}/share/examples/felt
|
2000-11-28 00:28:23 +01:00
|
|
|
|
2004-04-12 02:31:18 +02:00
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
|
|
.include "../../mk/xaw.buildlink3.mk"
|
2002-09-21 08:30:45 +02:00
|
|
|
|
2000-11-28 00:28:23 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|