summaryrefslogtreecommitdiff
path: root/misc/molden/Makefile
blob: 7e8d2d4d149b5244b7bab9d28c84dd4a3e9e36f9 (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
42
43
44
45
46
47
48
# $NetBSD: Makefile,v 1.3 2002/09/24 10:06:49 jlam Exp $

DISTNAME=	molden3.7
PKGNAME=	molden-3.7
CATEGORIES=	misc # chemistry
MASTER_SITES=	ftp://ftp.cmbi.kun.nl/pub/molgraph/molden/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	oishi@ims.ac.jp
HOMEPAGE=	http://www.cmbi.kun.nl/~schaft/molden/molden.html
COMMENT=	displaying MOLecular DENsity

MAKEFILE=	makefile
ALL_TARGET=	molden

USE_BUILDLINK2=		# defined
USE_X11=		# defined
USE_FORTRAN=		# defined

INTERACTIVE_STAGE=	fetch

LICENSE=	molden-license
RESTRICTED=	"Redistributing Molden by unregistered user is prohibited."
NO_SRC_ON_CDROM=        ${RESTRICTED}
NO_BIN_ON_CDROM=        ${RESTRICTED}
NO_SRC_ON_FTP=          ${RESTRICTED}
NO_BIN_ON_FTP=          ${RESTRICTED}

_FETCH_MESSAGE=	\
	${ECHO} "======================================================================"; \
	${ECHO} " Please read the WWW page below to know how to get a copy of Molden."; \
	${ECHO} ; \
	${ECHO} "     http://www.cmbi.kun.nl/~schaft/molden/howtoget.html"; \
	${ECHO} ; \
	${ECHO} " Then put the file ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR}."; \
	${ECHO} "======================================================================"

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/molden ${PREFIX}/bin/
	for d in doc test utils ; do \
		${INSTALL_DATA_DIR} ${PREFIX}/share/molden/$$d ; \
		for f in ${WRKSRC}/$$d/* ; do \
			${INSTALL_DATA} $$f ${PREFIX}/share/molden/$$d ; \
		done ; \
	done

.include "../../graphics/Mesa/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"