blob: 5eedf534a24474985cf59a759c1cabe84f0ba07c (
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
|
# $NetBSD: Makefile,v 1.16 2005/06/17 03:50:20 jlam Exp $
DISTNAME= tochnog-20010429
CATEGORIES= math
MASTER_SITES= ftp://tochnog.sourceforge.net/pub/tochnog/
DISTFILES= tn.tar.gz tnu.ps.gz tnp.ps.gz
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://tochnog.sourceforge.net/
COMMENT= Finite Element Analysis Program
WRKSRC= ${WRKDIR}/tochnog/src
DIST_SUBDIR= ${DISTNAME}
EXTRACT_ONLY= tn.tar.gz
MAKEFILE= makefile
BUILD_TARGET= netbsd
MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
INSTALLATION_DIRS= bin
post-patch:
@${RM} -f ${WRKDIR}/tochnog/test/*.orig ${WRKDIR}/tochnog/tools/*.bat
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tochnog ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tochnog
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/tnu.ps.gz \
${PREFIX}/share/doc/tochnog
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/tnp.ps.gz \
${PREFIX}/share/doc/tochnog
${INSTALL_DATA_DIR} ${PREFIX}/share/tochnog/test
${INSTALL_DATA} ${WRKDIR}/tochnog/test/* ${PREFIX}/share/tochnog/test/
${INSTALL_DATA_DIR} ${PREFIX}/share/tochnog/tools
${INSTALL_DATA} ${WRKDIR}/tochnog/tools/* ${PREFIX}/share/tochnog/tools/
.include "../../mk/bsd.pkg.mk"
|