63fc151cb9
to ${X11BASE} in the header and library search paths into references to ${LOCALBASE}/share/x11-links. These packages should now be strongly- buildlinked regardless of whether xpkgwedge is installed. Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.15 2001/08/29 22:41:04 jlam Exp $
|
|
|
|
DISTNAME= felt-3.05.src
|
|
PKGNAME= 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= packages@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= # defined
|
|
XAW_TYPE?= 3d
|
|
|
|
MAKE_ENV+= CCOPTS="${CFLAGS}"
|
|
MAKE_ENV+= LDOPTS="${LDFLAGS}"
|
|
MAKE_ENV+= SH="${SH}"
|
|
|
|
USE_BUILDLINK_ONLY= # defined
|
|
USE_GNU_READLINE= # uses remove_history() and history_list()
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
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/buildlink.mk"
|
|
.include "../../mk/xaw.buildlink.mk"
|
|
.include "../../mk/x11.buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|