openbsd-ports/graphics/molden/Makefile

51 lines
1.5 KiB
Makefile
Raw Normal View History

2010-11-17 03:05:12 -05:00
# $OpenBSD: Makefile,v 1.8 2010/11/17 08:05:15 espie Exp $
2007-11-09 12:26:27 -05:00
COMMENT= ab initio MOLecular DENsity display program
V= 4.6
DISTNAME= molden${V}
2010-11-17 03:05:12 -05:00
PKGNAME= molden-${V}
REVISION = 3
2007-11-09 12:26:27 -05:00
CATEGORIES= biology graphics
HOMEPAGE= http://www.cmbi.ru.nl/molden/molden.html
MAINTAINER= Chris Kuethe <ckuethe@openbsd.org>
BROKEN=Author keeps patching and rolling the tarball without bumping version
2007-11-09 12:26:27 -05:00
# Free for private, non-profit use. Commercial license required otherwise
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= No
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= No
MASTER_SITES= ftp://ftp.cmbi.ru.nl/pub/molgraph/molden/
2010-05-29 11:27:21 -04:00
MODULES= fortran
MODFORTRAN_COMPILER = g77
2010-05-29 11:27:21 -04:00
WANTLIB= GL GLU X11 Xmu c m pthread-stubs xcb ${MODFORTRAN_WANTLIB}
BUILD_DEPENDS= ${MODFORTRAN_BUILD_DEPENDS}
LIB_DEPENDS= ${MODFORTRAN_LIB_DEPENDS}
2007-11-09 12:26:27 -05:00
USE_GMAKE= Yes
NO_REGRESS= Yes
MAKE_FILE= makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/gmolden ${WRKSRC}/molden ${PREFIX}/bin
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/molden
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/molden
@${INSTALL_DATA} ${WRKSRC}/test/* ${PREFIX}/share/examples/molden
@${INSTALL_DATA_DIR} ${WRKSRC}/doc/* ${PREFIX}/share/doc/molden
@gunzip -o ${PREFIX}/share/doc/molden/manual.txt \
${WRKSRC}/doc/manual.txt.Z
@gunzip -o ${PREFIX}/share/doc/molden/figures.ps \
${WRKSRC}/doc/figures.ps.Z
.for F in COMMERCIAL_LICENSE CopyRight HISTORY README REGISTER
@${INSTALL_DATA} ${WRKSRC}/${F} ${PREFIX}/share/doc/molden
.endfor
.include <bsd.port.mk>