head	1.45;
access;
symbols
	RELEASE_8_3_0:1.43
	RELEASE_9_0_0:1.43
	RELEASE_7_4_0:1.42
	RELEASE_8_2_0:1.42
	RELEASE_6_EOL:1.41
	RELEASE_8_1_0:1.39
	RELEASE_7_3_0:1.39
	RELEASE_8_0_0:1.39
	RELEASE_7_2_0:1.38
	RELEASE_7_1_0:1.37
	RELEASE_6_4_0:1.37
	RELEASE_5_EOL:1.37
	RELEASE_7_0_0:1.36
	RELEASE_6_3_0:1.36
	PRE_XORG_7:1.33
	RELEASE_4_EOL:1.29
	RELEASE_6_2_0:1.28
	RELEASE_6_1_0:1.27
	RELEASE_5_5_0:1.27
	RELEASE_6_0_0:1.27
	RELEASE_5_4_0:1.27
	RELEASE_4_11_0:1.27
	RELEASE_5_3_0:1.27
	RELEASE_4_10_0:1.23
	RELEASE_5_2_1:1.22
	RELEASE_5_2_0:1.22
	RELEASE_4_9_0:1.19
	RELEASE_5_1_0:1.14
	RELEASE_4_8_0:1.13
	RELEASE_5_0_0:1.12
	RELEASE_4_7_0:1.12
	RELEASE_4_6_2:1.12
	RELEASE_4_6_1:1.12
	RELEASE_4_6_0:1.12
	RELEASE_5_0_DP1:1.12
	RELEASE_4_5_0:1.12
	RELEASE_4_4_0:1.11
	RELEASE_4_3_0:1.8
	RELEASE_4_2_0:1.7
	RELEASE_4_1_1:1.7
	RELEASE_4_1_0:1.7
	RELEASE_3_5_0:1.7
	RELEASE_4_0_0:1.5
	RELEASE_3_4_0:1.5
	RELEASE_3_3_0:1.5
	RELEASE_3_2_0:1.2
	RELEASE_3_1_0:1.2
	RELEASE_2_2_8:1.2
	v3_6:1.1.1.1
	GLJOHNS:1.1.1;
locks; strict;
comment	@# @;


1.45
date	2012.12.01.02.03.33;	author svnexp;	state Exp;
branches;
next	1.44;

1.44
date	2012.11.17.05.54.53;	author svnexp;	state Exp;
branches;
next	1.43;

1.43
date	2011.10.10.20.17.22;	author pav;	state Exp;
branches;
next	1.42;

1.42
date	2011.01.31.11.45.44;	author miwi;	state Exp;
branches;
next	1.41;

1.41
date	2010.10.30.23.51.30;	author rene;	state Exp;
branches;
next	1.40;

1.40
date	2010.09.30.08.53.18;	author erwin;	state Exp;
branches;
next	1.39;

1.39
date	2009.09.13.00.07.42;	author gerald;	state Exp;
branches;
next	1.38;

1.38
date	2009.01.07.16.34.08;	author gerald;	state Exp;
branches;
next	1.37;

1.37
date	2008.04.19.17.46.47;	author miwi;	state Exp;
branches;
next	1.36;

1.36
date	2007.07.12.06.49.37;	author maho;	state Exp;
branches;
next	1.35;

1.35
date	2007.05.25.01.41.55;	author edwin;	state Exp;
branches;
next	1.34;

1.34
date	2007.05.25.01.00.15;	author kris;	state Exp;
branches;
next	1.33;

1.33
date	2007.04.21.15.26.54;	author miwi;	state Exp;
branches;
next	1.32;

1.32
date	2007.04.20.08.03.12;	author kris;	state Exp;
branches;
next	1.31;

1.31
date	2007.03.16.21.16.36;	author gabor;	state Exp;
branches;
next	1.30;

1.30
date	2007.02.27.04.55.59;	author kris;	state Exp;
branches;
next	1.29;

1.29
date	2007.01.12.12.21.21;	author maho;	state Exp;
branches;
next	1.28;

1.28
date	2006.05.03.23.26.34;	author edwin;	state Exp;
branches;
next	1.27;

1.27
date	2004.09.25.08.06.08;	author thierry;	state Exp;
branches;
next	1.26;

1.26
date	2004.08.19.22.24.21;	author thierry;	state Exp;
branches;
next	1.25;

1.25
date	2004.07.23.20.31.09;	author anholt;	state Exp;
branches;
next	1.24;

1.24
date	2004.07.03.09.53.15;	author kris;	state Exp;
branches;
next	1.23;

1.23
date	2004.04.10.17.26.29;	author trevor;	state Exp;
branches;
next	1.22;

1.22
date	2003.11.21.22.28.34;	author pav;	state Exp;
branches;
next	1.21;

1.21
date	2003.10.16.00.58.05;	author linimon;	state Exp;
branches;
next	1.20;

1.20
date	2003.10.15.23.56.43;	author linimon;	state Exp;
branches;
next	1.19;

1.19
date	2003.07.25.22.30.55;	author maho;	state Exp;
branches;
next	1.18;

1.18
date	2003.07.25.21.19.09;	author maho;	state Exp;
branches;
next	1.17;

1.17
date	2003.07.25.07.19.40;	author maho;	state Exp;
branches;
next	1.16;

1.16
date	2003.07.25.02.48.05;	author maho;	state Exp;
branches;
next	1.15;

1.15
date	2003.07.19.03.48.44;	author maho;	state Exp;
branches;
next	1.14;

1.14
date	2003.03.30.06.43.14;	author edwin;	state Exp;
branches;
next	1.13;

1.13
date	2003.02.21.11.01.37;	author knu;	state Exp;
branches;
next	1.12;

1.12
date	2002.01.19.15.15.16;	author ijliao;	state Exp;
branches;
next	1.11;

1.11
date	2001.09.13.03.50.40;	author lioux;	state Exp;
branches;
next	1.10;

1.10
date	2001.09.13.01.13.52;	author lioux;	state Exp;
branches;
next	1.9;

1.9
date	2001.04.20.14.01.31;	author olgeni;	state Exp;
branches;
next	1.8;

1.8
date	2001.01.24.17.58.43;	author ijliao;	state Exp;
branches;
next	1.7;

1.7
date	2000.06.09.04.59.13;	author will;	state Exp;
branches;
next	1.6;

1.6
date	2000.04.08.22.04.55;	author mharo;	state Exp;
branches;
next	1.5;

1.5
date	99.08.25.04.48.08;	author obrien;	state Exp;
branches;
next	1.4;

1.4
date	99.06.23.00.25.45;	author cpiazza;	state Exp;
branches;
next	1.3;

1.3
date	99.05.24.02.01.37;	author steve;	state Exp;
branches;
next	1.2;

1.2
date	98.11.18.02.10.54;	author jkoshy;	state Exp;
branches;
next	1.1;

1.1
date	98.11.17.04.53.17;	author jkoshy;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.11.17.04.53.17;	author jkoshy;	state Exp;
branches;
next	;


desc
@@


1.45
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308054
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308054 | sperber | 2012-12-01 00:00:43 +0000 (Sat, 01 Dec 2012) | 10 lines
## SVN ##
## SVN ## - Update to version 6.1.01
## SVN ## - Add MAKE_JOBS_SAFE
## SVN ## - Convert to optionsng
## SVN ## - Trim Makefile header
## SVN ##
## SVN ## PR:           ports/171971
## SVN ## Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com>
## SVN ## Approved by:  beat (mentor)
## SVN ## Feature safe: yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Glenn Johnson
# $FreeBSD: head/biology/tinker/Makefile 308054 2012-12-01 00:00:43Z sperber $

PORTNAME=	tinker
PORTVERSION=	6.1.01
CATEGORIES=	biology
MASTER_SITES=	http://dasher.wustl.edu/tinker/downloads/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A general purpose molecular modelling package

RESTRICTED=	author requests no distribution except from his FTP site

OPTIONS_DEFINE=	OPTIMIZED_FFLAGS DATA DOCS EXAMPLES
OPTIONS_DEFAULT=DATA
OPTIMIZED_FFLAGS_DESC=	compilation optimizations

WRKSRC=		${WRKDIR}/${PORTNAME}
BUILD_WRKSRC=	${WRKSRC}/source
INSTALL_WRKSRC=	${WRKSRC}/source

USE_FORTRAN=	yes
MAKE_ENV=	HAVE_G2C=yes
MAKEFILE=	${WRKSRC}/make/Makefile
ALL_TARGET=	all listing
INSTALL_TARGET=	rename
MAKE_JOBS_SAFE=	yes

SUB_FILES=	pkg-message

DOCS=		0README *.pdf *.txt
SAMPLES=	0README *.make *.dyn *.int *.frac *.key *.seq *.pdb *.xyz
BENCHES=	0README *.dyn0 *.log *.key *.run *.xyz results*

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MOPTIMIZED_FFLAGS}
FFLAGS+=	-O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations
.if (${ARCH} == "i386")
FFLAGS+=	-mfancy-math-387 -malign-double
.endif # i386
.endif

.if empty(PORT_OPTIONS:MDATA)
NOPORTDATA=	yes
.endif

post-extract:
	@@${CHMOD} -R u+w ${WRKSRC}

post-install:
	@@${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${INSTALL_WRKSRC}/tinker.txt ${DATADIR}
	@@${MKDIR} ${DATADIR}/params
	${INSTALL_DATA} ${WRKSRC}/params/* ${DATADIR}/params
.if ${PORT_OPTIONS:MDATA}
	@@${MKDIR} ${DATADIR}/bench
	${INSTALL_DATA} ${BENCHES:S|^|${WRKSRC}/bench/|} ${DATADIR}/bench
	@@${MKDIR} ${DATADIR}/test
	${INSTALL_DATA} ${WRKSRC}/test/* ${DATADIR}/test
.endif
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
	@@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${SAMPLES:S|^|${WRKSRC}/example/|} ${EXAMPLESDIR}
.endif
	@@${ECHO_CMD}
	@@${CAT} ${PKGMESSAGE}
	@@${ECHO_CMD}

.include <bsd.port.post.mk>
@


1.44
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:   tinker
# Date Created:                26 August 1998
# Whom:                        Glenn Johnson
#
# $FreeBSD: head/biology/tinker/Makefile 300895 2012-07-14 12:56:14Z beat $
#
d5 1
a5 1
PORTVERSION=	5.1.09
d12 1
a12 1
MAKE_ENV+=	HAVE_G2C=yes INSTALL_PROGRAM="${INSTALL_PROGRAM}"
d14 7
a20 1
WRKSRC=		${WRKDIR}/tinker/source
d22 3
a24 1
MAKEFILE=	${WRKDIR}/tinker/make/Makefile
d27 3
a29 1
RESTRICTED=	author requests no distribution except from his FTP site
d31 2
a32 2
DOCS=		0README *.pdf *.txt announce/release*
SAMPLES=	0README *.make *.dyn *.int *.frac *.key *.seq *.pdb *.run *.xyz
d37 1
a37 3
USE_FORTRAN=	yes

.if defined(WITH_OPTIMIZED_FLAGS)
d44 2
a45 3
pre-everything::
.if !defined(WITH_OPTIMIZED_FLAGS)
	@@${ECHO_MSG} "You can optimize by setting WITH_OPTIMIZED_FLAGS=yes."
d49 1
a49 4
	${CHMOD} -R u+w ${WRKDIR}/tinker

post-patch:
	@@${REINPLACE_CMD} -e 's|%%FFLAGS%%|${FFLAGS}|g' ${WRKSRC}/../make/Makefile
d52 2
d55 8
a62 5
	@@${INSTALL_DATA} ${WRKDIR}/tinker/source/tinker.txt \
		${DATADIR}
	@@${INSTALL_DATA} ${WRKDIR}/tinker/params/* \
		${DATADIR}/params
.if !defined(NOPORTDOCS)
d64 3
d68 1
a68 6
	@@${MKDIR} ${DATADIR}/bench
	@@${MKDIR} ${DATADIR}/test
	@@${INSTALL_DATA} ${DOCS:S|^|${WRKDIR}/tinker/doc/|} ${DOCSDIR}
	@@${INSTALL_DATA} ${SAMPLES:S|^|${WRKDIR}/tinker/example/|} ${EXAMPLESDIR}
	@@${INSTALL_DATA} ${BENCHES:S|^|${WRKDIR}/tinker/bench/|} ${DATADIR}/bench
	@@${INSTALL_DATA} ${WRKDIR}/tinker/test/* ${DATADIR}/test
d70 3
a72 8
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "   **********************************************************"
	@@${ECHO_MSG} "       The author requests that you return a license form    "
	@@${ECHO_MSG} "       to him if you find Tinker to be useful.               "
	@@${ECHO_MSG} "                                                             "
	@@${ECHO_MSG} "       See ${DOCSDIR} for license forms.     "
	@@${ECHO_MSG} "   **********************************************************"
	@@${ECHO_MSG} ""
@


1.43
log
@- ${FFLAGS} might contain commas

Reported by:	pointyhat
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.42
log
@- Update to 5.1.09

PR:		154359
Submitted by:	Ruslan Mahmatkhanov <cvs-src@@yandex.ru>
Feature safe:	yes
@
text
@d49 1
a49 1
	@@${REINPLACE_CMD} -e 's,%%FFLAGS%%,${FFLAGS},g' ${WRKSRC}/../make/Makefile
@


1.41
log
@- Unbreak by removing some old and adding some new master sites
- Bump PORTREVISION
PR:		ports/151733
Submitted by:	Chris Petrik [c.petrik.sosa gmail.com]
@
text
@d9 1
a9 2
PORTVERSION=	4.2.20040908
PORTREVISION=	5
d11 1
a11 5
MASTER_SITES=	ftp://ftp.tu-chemnitz.de/.SAN0/pub/FreeBSD/ports/distfiles/RESTRICTED/${PORTNAME}-${PORTVERSION}/\
		ftp://ftp.tw.freebsd.org/pub/ports/distfiles/${PORTNAME}-${PORTVERSION}/ \
		ftp://ftp.uvsq.fr/pub/FreeBSD/ports/distfiles/RESTRICTED/${PORTNAME}-${PORTVERSION}/
DISTNAME=	${PORTNAME}
DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
d25 3
a27 4
DOCS=		README *.pdf *.txt release*
SAMPLES=	README clean.make *.1st *.boat *.cell *.chair *.dat *.dyn0	\
		*.key *.log *.pdb *.run *.xyz
BENCHES=	README *.dyn0 *.log *.key *.run *.xyz results*
a39 15
.if defined(WITH_VIEWER)
BUILD_DEPENDS+=	imake:${PORTSDIR}/devel/imake
USE_XORG=	x11 xext xi
PLIST_SUB+=	WITH_VIEWER=""
post-build:
	@@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/build_viewer
.else
PLIST_SUB+=	WITH_VIEWER="@@comment "
pre-extract:
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} If you would like to also build
	@@${ECHO_MSG} the molecular viewer, define WITH_VIEWER.
	@@${ECHO_MSG} ""
.endif

a66 7
.if defined(WITH_VIEWER)
	@@${MKDIR} ${DATADIR}/rasmol
	@@${INSTALL_PROGRAM} ${WRKDIR}/tinker/rasmol/tview-* ${PREFIX}/bin
	@@${INSTALL_SCRIPT} ${FILESDIR}/tview ${PREFIX}/bin
	@@${INSTALL_DATA} ${WRKDIR}/tinker/rasmol/rasmol.hlp \
		${DATADIR}/rasmol
.endif
@


1.40
log
@Mark BROKEN: does not fetch.
@
text
@d10 1
a10 1
PORTREVISION=	4
d12 3
a14 3
MASTER_SITES=	${MASTER_SITE_GENTOO} \
		ftp://dasher.wustl.edu/pub/
MASTER_SITE_SUBDIR=	distfiles
a28 1
BROKEN=		does not fetch
@


1.39
log
@Bump PORTREVISION for everything that sets USE_FORTRAN=yes which now
implies lang/gcc44 up from lang/gcc43.

Approved by:	portmgr
@
text
@d29 1
@


1.38
log
@Bump PORTREVISION due to change of USE_FORTRAN=yes to GCC 4.3.
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.37
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.36
log
@Now we use USE_FORTRAN=yes to use FORTRAN compiler.
@
text
@d10 1
a10 1
PORTREVISION=	1
a20 2
BUILD_DEPENDS=	imake:${X_IMAKE_PORT}

d47 2
a48 1
USE_XLIB=	yes
@


1.35
log
@swap MASTER_SITES to improve fetchiness on pointyhat which is blocked from dasher.wustl.edu
@
text
@d38 2
a39 4
BUILD_DEPENDS+=	gfortran42:${PORTSDIR}/lang/gcc42
FC=	gfortran42
F77=	gfortran42
MAKE_ENV+=	FC="${FC}" F77="${F77}"
@


1.34
log
@BROKEN: Unfetchable
@
text
@d12 2
a13 2
MASTER_SITES=	ftp://dasher.wustl.edu/pub/ \
		${MASTER_SITE_GENTOO}
a22 2
BROKEN=		Unfetchable

@


1.33
log
@- Unbreak
- Add backup MASTER_SITES

PR:		111963
Submitted by:	Jason Harris <jharris@@widomaker.com>
@
text
@d23 2
@


1.32
log
@BROKEN: Unfetchable
@
text
@d12 3
a14 1
MASTER_SITES=	ftp://dasher.wustl.edu/pub/
a22 2
BROKEN=		Unfetchable

@


1.31
log
@- MASTER_SITE is back, remove BROKEN

PR:		ports/109954
Submitted by:	Tsurutani Naoki <turutani@@scphys.kyoto-u.ac.jp>
@
text
@d21 2
@


1.30
log
@BROKEN: Unfetchable
@
text
@a20 2
BROKEN=		Unfetchable

@


1.29
log
@* Migrate to gfortran.
* Bump port revision.
@
text
@d21 2
@


1.28
log
@Remove USE_REINPLACE from all categories starting with B
@
text
@d10 1
d36 4
@


1.27
log
@Upgrade to latest revision to make fetchable again.

Approved by:	portmgr (marcus)
@
text
@a26 1
USE_REINPLACE=	yes
@


1.26
log
@- Unbreak by upgrading to 4.2;

- Use DIST_SUBDIR because tarball is not versioned;

- Add sysdate to PORTVERSION to handle minor revisions;

- Do some cleaning.
@
text
@d9 1
a9 1
PORTVERSION=	4.2.20040819
@


1.25
log
@Use X_IMAKE_PORT instead of dist-specific imake dependencies.  While here,
make the BROKEN message a little more informative.
@
text
@d9 1
a9 1
PORTVERSION=	4.1
d13 1
a19 2
BROKEN=		Distfile has been updated to version 4.2.  Port needs update

d30 4
a33 4
pre-fetch:
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} If you get a CHECKSUM mismatch, try doing a \'make distclean\' first.
	@@${ECHO_MSG} ""
d37 7
a57 6
.if defined(WITH_OPTIMIZED_FLAGS)
FFLAGS+=	-O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations
.if (${MACHINE_ARCH} == "i386")
FFLAGS+=	-mfancy-math-387 -malign-double
.endif # i386
.endif
d70 1
a70 2
	@@${MKDIR} ${PREFIX}/share/tinker
	@@${MKDIR} ${PREFIX}/share/tinker/params
d72 1
a72 1
${PREFIX}/share/tinker
d74 1
a74 2
${PREFIX}/share/tinker/params

d76 8
a83 53
	@@${MKDIR} ${PREFIX}/share/doc/tinker
	@@${MKDIR} ${PREFIX}/share/examples/tinker
	@@${MKDIR} ${PREFIX}/share/tinker/bench
	@@${MKDIR} ${PREFIX}/share/tinker/test
	@@${INSTALL_DATA} ${WRKDIR}/tinker/doc/README \
${PREFIX}/share/doc/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/doc/*.pdf \
${PREFIX}/share/doc/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/doc/*.txt \
${PREFIX}/share/doc/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/doc/release* \
${PREFIX}/share/doc/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/example/README \
${PREFIX}/share/examples/tinker
	@@${INSTALL_SCRIPT} ${WRKDIR}/tinker/example/clean.make \
${PREFIX}/share/examples/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/example/*.1st \
${PREFIX}/share/examples/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/example/*.boat \
${PREFIX}/share/examples/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/example/*.cell \
${PREFIX}/share/examples/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/example/*.chair \
${PREFIX}/share/examples/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/example/*.dat \
${PREFIX}/share/examples/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/example/*.dyn0 \
${PREFIX}/share/examples/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/example/*.key \
${PREFIX}/share/examples/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/example/*.log \
${PREFIX}/share/examples/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/example/*.pdb \
${PREFIX}/share/examples/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/example/*.xyz \
${PREFIX}/share/examples/tinker
	@@${INSTALL_SCRIPT} ${WRKDIR}/tinker/example/*.run \
${PREFIX}/share/examples/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/bench/README \
${PREFIX}/share/tinker/bench
	@@${INSTALL_DATA} ${WRKDIR}/tinker/bench/*.dyn0 \
${PREFIX}/share/tinker/bench
	@@${INSTALL_DATA} ${WRKDIR}/tinker/bench/*.log \
${PREFIX}/share/tinker/bench
	@@${INSTALL_DATA} ${WRKDIR}/tinker/bench/*.key \
${PREFIX}/share/tinker/bench
	@@${INSTALL_SCRIPT} ${WRKDIR}/tinker/bench/*.run \
${PREFIX}/share/tinker/bench
	@@${INSTALL_DATA} ${WRKDIR}/tinker/bench/*.xyz \
${PREFIX}/share/tinker/bench
	@@${INSTALL_DATA} ${WRKDIR}/tinker/bench/results* \
${PREFIX}/share/tinker/bench
	@@${INSTALL_DATA} ${WRKDIR}/tinker/test/* ${PREFIX}/share/tinker/test
a84 1

d86 1
a86 1
	@@${MKDIR} ${PREFIX}/share/tinker/rasmol
d90 1
a90 1
		${PREFIX}/share/tinker/rasmol
d97 1
a97 1
	@@${ECHO_MSG} "       See ${PREFIX}/share/doc/tinker for license forms.     "
@


1.24
log
@BROKEN: Checksum mismatch
@
text
@d17 3
a19 1
BROKEN=		Checksum mismatch
a38 5
.if ${XFREE86_VERSION} == 3
BUILD_DEPENDS+=	imake:${PORTSDIR}/devel/imake
.elif ${XFREE86_VERSION} == 4
BUILD_DEPENDS+=	imake:${PORTSDIR}/devel/imake-4
.endif
@


1.23
log
@Tidy up whitespace.
@
text
@d17 2
@


1.22
log
@- Update checksum again, seems author removes .ps version of documentation
  from tarball
- Unmark broken, it builds for me just fine

Approved by:	adamw (mentor)
@
text
@d36 1
a36 1
BUILD_DEPENDS+= imake:${PORTSDIR}/devel/imake
d38 1
a38 1
BUILD_DEPENDS+= imake:${PORTSDIR}/devel/imake-4
d40 1
a40 1
USE_XLIB=       yes
d54 1
a54 1
FFLAGS+=        -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations
d56 1
a56 1
FFLAGS+=        -mfancy-math-387 -malign-double
@


1.21
log
@Forced commit to add rationale.  (Note: this port was previously
broken due to a bad checksum; the initial intent of the update
was to try to fix only that.  However, the new revision fails
as well, but this led to my being sloppy with the checkin.
As Maxwell Smart said, "Sorry about that, Chief.")

New distfile 9/13.  "Changes from TINKER 4.0 include some new force
field parameter sets, improvements to rigid body dynamics, a
Nose-Hoover thermostat, and numerous minor additions and bug fixes."

However, the compilation fails in sockets.c with an undefined
ref to <jni.h>.  This is part of: "an interface between TINKER Fortran
code and FFE Java objects used for socket based communication."

Some interested party is going to have to take up this one, I'm
afraid, as I have no idea what is involved.

Reminded by: kris
@
text
@a25 1
BROKEN=		"fails to compile the interface between TINKER Fortran code and FFE Java objects"
a39 1
PLIST=          ${PKGDIR}/pkg-plist.viewer
d41 1
d45 1
a84 2
	@@${INSTALL_DATA} ${WRKDIR}/tinker/doc/*.gz \
${PREFIX}/share/doc/tinker
a85 2
${PREFIX}/share/doc/tinker
	@@${INSTALL_DATA} ${WRKDIR}/tinker/doc/*.ps \
@


1.20
log
@Fixes the checksum problem, but doesn't fix the port; adds a BROKEN
line about how it fails.  Some other interested person will have
to take it from here.

PR:		56882
@
text
@@


1.19
log
@Some clean-up.
a) ECHO-> ECHO_CMD
b) place of WITH_OPTIMIZED_FLAGS seems to be wrong.
c) fix errors reported from freshports.org
@
text
@d9 1
a9 1
PORTVERSION=	4.0
d26 1
@


1.18
log
@Duplicated the `pre-extract:' and `post-build:'

Submitted by:	Glenn Johnson <gjohnson@@srrc.ars.usda.gov>
Pointy hat to:	myself
@
text
@d45 6
a57 1

a62 6
pre-extract:
	@@${ECHO} ""
	@@${ECHO} If you would like to also build
	@@${ECHO} the molecular viewer, define WITH_VIEWER.
	@@${ECHO} ""

a142 1

d144 8
a151 9

	@@${ECHO} ""
	@@${ECHO} "   **********************************************************"
	@@${ECHO} "       The author requests that you return a license form    "
	@@${ECHO} "       to him if you find Tinker to be useful.               "
	@@${ECHO} "                                                             "
	@@${ECHO} "       See ${PREFIX}/share/doc/tinker for license forms.     "
	@@${ECHO} "   **********************************************************"
	@@${ECHO} ""
@


1.17
log
@a) Some corrupts with Makefile and pkg-plist.
b) forgot to notice that drop maintainership to ports@@

Submitted by:	Glenn Johnson <gjohnson@@srrc.ars.usda.gov>
Pointy hat to:	myself
@
text
@a44 6
pre-extract:
	@@${ECHO} ""
	@@${ECHO} If you would like to also build
	@@${ECHO} the molecular viewer, define WITH_VIEWER.
	@@${ECHO} ""
.endif
a56 3

post-build:
	@@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/build_viewer
@


1.16
log
@a) Forgot to update distinfo 52498
b) added LEGAL. author requests no distribution
   except from his FTP site
c) clean-ups for compiler optimization

Submitted by:	Glenn Johnson <gjohnson@@srrc.ars.usda.gov>
Pointy hat to:	maho; partially :)
@
text
@d24 2
d27 4
a30 3
RESTRICTED=	author requests no distribution except from his FTP site
NO_CDROM=	${RESTRICTED}
NO_PACKAGE=	${RESTRICTED}
d36 1
a36 1
BUILD_DEPENDS+=	imake:${PORTSDIR}/devel/imake
d38 12
a49 1
BUILD_DEPENDS+=	imake:${PORTSDIR}/devel/imake-4
a50 2
PLIST=		${PKGDIR}/pkg-plist.viewer
USE_XLIB=	yes
d53 1
a53 1
CFLAGS+=        -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations
d55 1
a55 1
CFLAGS+=        -mfancy-math-387 -malign-double
d66 1
a66 1
.else
a71 1
.endif
d75 3
@


1.15
log
@Maintainer update of biology/tinker port to version 4.0.

PR:		52498
Submitted by:	Glenn Johnson <gjohnson@@srrc.ars.usda.gov>
@
text
@d14 1
a14 1
MAINTAINER=	gjohnson@@srrc.ars.usda.gov
d26 2
d39 13
@


1.14
log
@Update the biology/tinker Makefile so it builds on -current

PR:		ports/50371
Submitted by:	Glenn Johnson <gjohnson@@srrc.ars.usda.gov>
@
text
@d9 1
a9 2
PORTVERSION=	3.9
PORTREVISION=	1
a25 5

pre-fetch:
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} If you get a CHECKSUM mismatch, try doing a \'make distclean\' first.
	@@${ECHO_MSG} ""
@


1.13
log
@De-pkg-comment.
@
text
@d33 2
d53 3
d142 1
a142 1
.include <bsd.port.mk>
@


1.12
log
@Upgrade tinker to the latest revision

PR:		33425
Submitted by:	maintainer
@
text
@d16 1
@


1.11
log
@style fix: un"echo" commands

Approved by:	MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/tinker/Makefile,v 1.10 2001/09/13 01:13:52 lioux Exp $
d10 1
d32 1
a32 1
.if defined(WANT_VIEWER)
d46 1
a46 1
	@@${ECHO} the molecular viewer, define WANT_VIEWER.
d118 1
a118 1
.if defined(WANT_VIEWER)
@


1.10
log
@Update to 3.9

PR:		30398
Submitted by:	MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/tinker/Makefile,v 1.9 2001/04/20 14:01:31 olgeni Exp $
d40 1
a40 1
	${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/build_viewer
d50 3
a52 3
	${MKDIR} ${PREFIX}/share/tinker
	${MKDIR} ${PREFIX}/share/tinker/params
	${INSTALL_DATA} ${WRKDIR}/tinker/source/tinker.txt \
d54 1
a54 1
	${INSTALL_DATA} ${WRKDIR}/tinker/params/* \
d58 5
a62 5
	${MKDIR} ${PREFIX}/share/doc/tinker
	${MKDIR} ${PREFIX}/share/examples/tinker
	${MKDIR} ${PREFIX}/share/tinker/bench
	${MKDIR} ${PREFIX}/share/tinker/test
	${INSTALL_DATA} ${WRKDIR}/tinker/doc/README \
d64 1
a64 1
	${INSTALL_DATA} ${WRKDIR}/tinker/doc/*.gz \
d66 1
a66 1
	${INSTALL_DATA} ${WRKDIR}/tinker/doc/*.pdf \
d68 1
a68 1
	${INSTALL_DATA} ${WRKDIR}/tinker/doc/*.ps \
d70 1
a70 1
	${INSTALL_DATA} ${WRKDIR}/tinker/doc/*.txt \
d72 1
a72 1
	${INSTALL_DATA} ${WRKDIR}/tinker/doc/release* \
d74 1
a74 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/README \
d76 1
a76 1
	${INSTALL_SCRIPT} ${WRKDIR}/tinker/example/clean.make \
d78 1
a78 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/*.1st \
d80 1
a80 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/*.boat \
d82 1
a82 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/*.cell \
d84 1
a84 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/*.chair \
d86 1
a86 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/*.dat \
d88 1
a88 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/*.dyn0 \
d90 1
a90 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/*.key \
d92 1
a92 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/*.log \
d94 1
a94 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/*.pdb \
d96 1
a96 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/*.xyz \
d98 1
a98 1
	${INSTALL_SCRIPT} ${WRKDIR}/tinker/example/*.run \
d100 1
a100 1
	${INSTALL_DATA} ${WRKDIR}/tinker/bench/README \
d102 1
a102 1
	${INSTALL_DATA} ${WRKDIR}/tinker/bench/*.dyn0 \
d104 1
a104 1
	${INSTALL_DATA} ${WRKDIR}/tinker/bench/*.log \
d106 1
a106 1
	${INSTALL_DATA} ${WRKDIR}/tinker/bench/*.key \
d108 1
a108 1
	${INSTALL_SCRIPT} ${WRKDIR}/tinker/bench/*.run \
d110 1
a110 1
	${INSTALL_DATA} ${WRKDIR}/tinker/bench/*.xyz \
d112 1
a112 1
	${INSTALL_DATA} ${WRKDIR}/tinker/bench/results* \
d114 1
a114 1
	${INSTALL_DATA} ${WRKDIR}/tinker/test/* ${PREFIX}/share/tinker/test
d118 4
a121 4
	${MKDIR} ${PREFIX}/share/tinker/rasmol
	${INSTALL_PROGRAM} ${WRKDIR}/tinker/rasmol/tview-* ${PREFIX}/bin
	${INSTALL_SCRIPT} ${FILESDIR}/tview ${PREFIX}/bin
	${INSTALL_DATA} ${WRKDIR}/tinker/rasmol/rasmol.hlp \
@


1.9
log
@Update distfile checksum (PORTREVISION bumped)

also:

* Change maintainer's email address.
* Remove support for older FreeBSD versions.

PR:		26710
Submitted by:	Glenn Johnson <gjohnson@@srrc.ars.usda.gov>
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/tinker/Makefile,v 1.8 2001/01/24 17:58:43 ijliao Exp $
d9 1
a9 2
PORTVERSION=	3.8
PORTREVISION=	1
d26 5
d72 2
d76 2
a97 2
	${INSTALL_SCRIPT} ${WRKDIR}/tinker/example/clean.make \
${PREFIX}/share/examples/tinker
d100 2
d108 2
a113 2
	${INSTALL_SCRIPT} ${WRKDIR}/tinker/bench/*.run \
${PREFIX}/share/tinker/bench
d120 3
a122 1
	${INSTALL_DATA} ${WRKDIR}/tinker/rasmol/rasmol.hlp ${PREFIX}/share/tinker/rasmol
@


1.8
log
@update from 3.7 to 3.8

PR:		24371
Submitted by:	MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/tinker/Makefile,v 1.7 2000/06/09 04:59:13 will Exp $
d10 1
d15 1
a15 1
MAINTAINER=	gjohnson@@nola.srrc.usda.gov
a16 13
.include <bsd.port.pre.mk>

.if ${OSVERSION} < 400005
LIB_DEPENDS=	U77:${PORTSDIR}/devel/libU77

# If you wish to use g77 from EGCS, do the following:
# a) comment out the LIB_DEPENDS line above and uncomment the following line

# BUILD_DEPENDS= g77:${PORTSDIR}/lang/egcs

# b) set env variable 'FC' to 'g77' before running `make'; or 'make FC=g77'

.else
a17 1
.endif
a26 1

d111 1
a111 1
	${INSTALL_PROGRAM} ${WRKDIR}/tinker/rasmol/tview-* ${PREFIX}/bin 
d121 1
a121 1
	@@${ECHO} "       See ${PREFIX}/share/tinker/doc for license forms.     "
d125 1
a125 1
.include <bsd.port.post.mk>
@


1.7
log
@Clean up this port so that it installs stuff in a more proper location
as per hier(7) and Porter's Handbook.

PR:		18929
Submitted by:	MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/tinker/Makefile,v 1.6 2000/04/08 22:04:55 mharo Exp $
d9 1
a9 1
PORTVERSION=	3.7
d40 19
d66 1
d74 2
a79 2
	${INSTALL_DATA} ${WRKDIR}/tinker/doc/*.Z \
${PREFIX}/share/doc/tinker
d84 1
a84 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/anion.dyn0 \
d86 1
a86 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/*.in* \
d88 1
a88 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/*.key \
d90 1
a90 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/*.log \
d92 1
a92 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/*.xyz \
d94 1
a94 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/argon.1st \
d96 1
a96 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/crambin.pdb \
d98 1
a98 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/cyclohex.boat \
d100 1
a100 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/cyclohex.chair \
d102 1
a102 1
	${INSTALL_DATA} ${WRKDIR}/tinker/example/formamide.cell \
d108 3
a110 1
	${INSTALL_DATA} ${WRKDIR}/tinker/bench/*.input \
a115 2
	${INSTALL_DATA} ${WRKDIR}/tinker/bench/water.dyn0 \
${PREFIX}/share/tinker/bench
d122 8
@


1.6
log
@update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/tinker/Makefile,v 1.5 1999/08/25 04:48:08 obrien Exp $
d48 2
a49 2
	${MKDIR} ${PREFIX}/share/tinker/doc
	${MKDIR} ${PREFIX}/share/tinker/example
d53 1
a53 1
${PREFIX}/share/tinker/doc
d55 1
a55 1
${PREFIX}/share/tinker/doc
d57 1
a57 1
${PREFIX}/share/tinker/doc
d59 1
a59 1
${PREFIX}/share/tinker/doc
d61 1
a61 1
${PREFIX}/share/tinker/doc
d63 1
a63 1
${PREFIX}/share/tinker/example
d65 1
a65 1
${PREFIX}/share/tinker/example
d67 1
a67 1
${PREFIX}/share/tinker/example
d69 1
a69 1
${PREFIX}/share/tinker/example
d71 1
a71 1
${PREFIX}/share/tinker/example
d73 1
a73 1
${PREFIX}/share/tinker/example
d75 1
a75 1
${PREFIX}/share/tinker/example
d77 1
a77 1
${PREFIX}/share/tinker/example
d79 1
a79 1
${PREFIX}/share/tinker/example
d81 1
a81 1
${PREFIX}/share/tinker/example
d83 1
a83 1
${PREFIX}/share/tinker/example
d85 1
a85 1
${PREFIX}/share/tinker/example
d87 1
a87 1
${PREFIX}/share/tinker/example
@


1.5
log
@Change Id->FreeBSD.
@
text
@a1 1
# Version required:    3.7
d5 1
a5 1
# $FreeBSD$
d8 2
a9 2
DISTNAME=	tinker
PKGNAME=	tinker-3.7
d12 1
@


1.4
log
@Update tinker from version 3.6 to version 3.7

PR:	12301
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1999/05/24 02:01:37 steve Exp $
@


1.3
log
@Fix build on -current (Alpha) machines.
@
text
@d2 1
a2 1
# Version required:    3.6
d6 1
a6 1
# $Id: Makefile,v 1.2 1998/11/18 02:10:54 jkoshy Exp $
d10 1
a10 1
PKGNAME=	tinker-3.6
d21 1
a21 1
# If you have EGCS installed and wish to use it, do the following:
d23 5
a27 2
#BUILD_DEPENDS=	g77:${PORTSDIR}/lang/egcs
# b) set env variable 'FC' to 'g77' before running `make'
d29 1
a29 1
MAKE_ENV+=	HAVE_G2C=yes
d41 1
d43 2
a46 2
	${INSTALL_DATA} ${WRKDIR}/tinker/source/tinker.txt \
${PREFIX}/share/tinker
d54 2
d105 1
a105 1
	@@${ECHO} "          to him if you find Tinker to be useful.            "
@


1.2
log
@Add a comment about setting env var 'FC' to 'g77' if EGCS is to be
used for building.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1998/11/17 04:53:17 jkoshy Exp $
d9 4
a12 4
DISTNAME=      tinker
PKGNAME=       tinker-3.6
CATEGORIES=    biology
MASTER_SITES=  ftp://dasher.wustl.edu/pub/
d14 1
a14 1
MAINTAINER=    gjohnson@@nola.srrc.usda.gov
d16 3
d25 3
d29 1
a29 3
.include <bsd.port.pre.mk>

WRKSRC=                ${WRKDIR}/tinker/source
d31 3
a33 3
MAKEFILE=      ${WRKDIR}/tinker/make/Makefile
ALL_TARGET=    all listing
INSTALL_TARGET=        rename
d35 1
a35 1
RESTRICTED=    author requests no distribution except from his FTP site
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d18 2
a19 2
# If you have EGCS installed you can uncomment the following
# line and comment out the LIB_DEPENDS line above
d21 1
@


1.1.1.1
log
@New port of the Tinker Molecular modelling program.

PR:		8690
Reviewed by:	jkoshy
Submitted by:	Glenn Johnson <gljohns@@bellsouth.net>
@
text
@@
