summaryrefslogtreecommitdiff
path: root/math/admesh/Makefile
blob: fa3f871c33440f5b73074a558913d5ccb37ee8a0 (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
# $NetBSD: Makefile,v 1.11 2009/09/13 23:53:07 dsainty Exp $

DISTNAME=		admesh-0.95
CATEGORIES=		math
MASTER_SITES=		http://www.varlog.com/products/admesh/files/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.varlog.com/index.html
COMMENT=		Program for processing triangulated solid meshes

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=		yes
CONFIGURE_HAS_MANDIR=	no
INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/admesh ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/admesh
	cd ${WRKSRC} && ${INSTALL_DATA} README ADMESH.DOC \
		${DESTDIR}${PREFIX}/share/doc/admesh/
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/admesh
	${INSTALL_DATA} ${WRKSRC}/block.stl \
		${DESTDIR}${PREFIX}/share/examples/admesh

.include "../../mk/bsd.pkg.mk"