blob: 79d1bb1dc7508d088fe5f67b693c690aec8f25cf (
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
|
# $NetBSD: Makefile,v 1.23 2011/03/17 21:05:00 zafer Exp $
DISTNAME= tochnog-20010429
CATEGORIES= math
MASTER_SITES= http://sourceforge.net/projects/tochnog/files/tochnog/
DISTFILES= tn.tar.gz tnu.ps.gz tnp.ps.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://tochnog.sourceforge.net/
COMMENT= Finite Element Analysis Program
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/tochnog/src
DIST_SUBDIR= ${DISTNAME}
EXTRACT_ONLY= tn.tar.gz
MAKE_FILE= makefile
BUILD_TARGET= netbsd
MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH:Q}
USE_LANGUAGES= c c++
INSTALLATION_DIRS= bin share/doc/tochnog share/tochnog/tools \
share/tochnog/test
post-patch:
@${RM} -f ${WRKDIR}/tochnog/test/*.orig ${WRKDIR}/tochnog/tools/*.bat
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tochnog ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/tnu.ps.gz \
${DESTDIR}${PREFIX}/share/doc/tochnog
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/tnp.ps.gz \
${DESTDIR}${PREFIX}/share/doc/tochnog
${INSTALL_DATA} ${WRKDIR}/tochnog/test/* \
${DESTDIR}${PREFIX}/share/tochnog/test/
${INSTALL_DATA} ${WRKDIR}/tochnog/tools/* \
${DESTDIR}${PREFIX}/share/tochnog/tools/
.include "../../mk/bsd.pkg.mk"
|