head	1.32;
access;
symbols
	RELEASE_8_3_0:1.31
	RELEASE_9_0_0:1.31
	RELEASE_7_4_0:1.31
	RELEASE_8_2_0:1.31
	RELEASE_6_EOL:1.29
	RELEASE_8_1_0:1.29
	RELEASE_7_3_0:1.29
	RELEASE_8_0_0:1.29
	RELEASE_7_2_0:1.28
	RELEASE_7_1_0:1.27
	RELEASE_6_4_0:1.27
	RELEASE_5_EOL:1.27
	RELEASE_7_0_0:1.26
	RELEASE_6_3_0:1.26
	PRE_XORG_7:1.24
	RELEASE_4_EOL:1.24
	RELEASE_6_2_0:1.23
	RELEASE_6_1_0:1.21
	RELEASE_5_5_0:1.21
	RELEASE_6_0_0:1.21
	RELEASE_5_4_0:1.18
	RELEASE_4_11_0:1.18
	RELEASE_5_3_0:1.18
	RELEASE_4_10_0:1.18
	RELEASE_5_2_1:1.17
	RELEASE_5_2_0:1.17
	RELEASE_4_9_0:1.14
	RELEASE_5_1_0:1.13
	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.12
	RELEASE_4_3_0:1.11
	RELEASE_4_2_0:1.9
	RELEASE_4_1_1:1.9
	RELEASE_4_1_0:1.8
	RELEASE_3_5_0:1.8
	RELEASE_4_0_0:1.5
	RELEASE_3_4_0:1.5
	RELEASE_3_3_0:1.5
	RELEASE_3_2_0:1.1.1.1
	v070499:1.1.1.1
	MIYAMOTO:1.1.1;
locks; strict;
comment	@# @;


1.32
date	2012.11.17.05.54.52;	author svnexp;	state Exp;
branches;
next	1.31;

1.31
date	2011.01.27.17.41.16;	author pav;	state Exp;
branches;
next	1.30;

1.30
date	2011.01.24.21.17.30;	author pav;	state Exp;
branches;
next	1.29;

1.29
date	2009.09.13.00.07.42;	author gerald;	state Exp;
branches;
next	1.28;

1.28
date	2009.01.07.16.34.08;	author gerald;	state Exp;
branches;
next	1.27;

1.27
date	2008.04.19.17.46.46;	author miwi;	state Exp;
branches;
next	1.26;

1.26
date	2007.07.12.06.38.55;	author maho;	state Exp;
branches;
next	1.25;

1.25
date	2007.05.19.20.00.26;	author flz;	state Exp;
branches;
next	1.24;

1.24
date	2007.01.17.05.30.10;	author maho;	state Exp;
branches;
next	1.23;

1.23
date	2006.05.06.21.20.59;	author sem;	state Exp;
branches;
next	1.22;

1.22
date	2006.04.05.06.13.45;	author linimon;	state Exp;
branches;
next	1.21;

1.21
date	2005.04.12.03.24.57;	author obrien;	state Exp;
branches;
next	1.20;

1.20
date	2005.04.11.11.26.28;	author flz;	state Exp;
branches;
next	1.19;

1.19
date	2005.04.11.08.01.29;	author obrien;	state Exp;
branches;
next	1.18;

1.18
date	2003.12.07.00.29.56;	author pav;	state Exp;
branches;
next	1.17;

1.17
date	2003.11.03.03.56.33;	author kris;	state Exp;
branches;
next	1.16;

1.16
date	2003.10.13.06.31.57;	author kris;	state Exp;
branches;
next	1.15;

1.15
date	2003.09.24.09.37.06;	author osa;	state Exp;
branches;
next	1.14;

1.14
date	2003.07.19.03.58.51;	author maho;	state Exp;
branches;
next	1.13;

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

1.12
date	2001.07.30.21.05.54;	author lioux;	state Exp;
branches;
next	1.11;

1.11
date	2001.04.13.18.50.23;	author sf;	state Exp;
branches;
next	1.10;

1.10
date	2001.03.12.14.31.53;	author kevlo;	state Exp;
branches;
next	1.9;

1.9
date	2000.08.01.23.31.19;	author jedgar;	state Exp;
branches;
next	1.8;

1.8
date	2000.06.08.08.51.02;	author knu;	state Exp;
branches;
next	1.7;

1.7
date	2000.05.28.03.56.25;	author steve;	state Exp;
branches;
next	1.6;

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

1.5
date	99.08.28.01.56.55;	author mharo;	state Exp;
branches;
next	1.4;

1.4
date	99.08.25.04.48.02;	author obrien;	state Exp;
branches;
next	1.3;

1.3
date	99.07.14.18.43.06;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	99.05.24.02.12.36;	author steve;	state Exp;
branches;
next	1.1;

1.1
date	99.05.07.06.56.51;	author taoka;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.05.07.06.56.51;	author taoka;	state Exp;
branches;
next	;


desc
@@


1.32
log
@Switch exporter over
@
text
@# New ports collection makefile for:	platon
# Date created:		1999-04-22
# Whom:			Ryo MIYAMOTO <rmiya@@cc.hirosaki-u.ac.jp>
#
# $FreeBSD: head/biology/platon/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	platon
PORTVERSION=	2007.01.09
PORTREVISION=	5
CATEGORIES=	biology
MASTER_SITES=	http://www.cryst.chem.uu.nl/spek/xraysoft/unix/
DISTNAME=	platon

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Tool for viewing molecular/crystallographic structures

# PLATON may be used free of charge by the academic community under
# the condition that it is not redistributed for a current & fresh copy.
# There is a charge of US$ 5000 for commercial users.
RESTRICTED=	free for academic, US$ 5000 for commercial users

USE_XORG=	x11
USE_FORTRAN=	yes

# This port only has snapshot archive
IGNOREFILES=	platon.tar.gz

SAMPLES=	azt.dat bucky.spf c476.spf c540.cart3d check.def cubane.spf \
		cyto.spf ml.pdb s810c.cif s913a.res sucrose.spf
TESTDATADIR=	ABSORB_EXAMPLE ABSTOMPA_EXAMPLE ABSTOMPA_TEST ADDSYM_EXAMPLE \
		ASYM_EXAMPLE MULABS_EXAMPLE PSICOR_EXAMPLE SQUEEZE_EXAMPLE

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha"
BROKEN=	/usr/libexec/elf/ld: platon.o: .got subsegment exceeds 64K (size 88552)
.endif

pre-patch:
	(cd ${WRKDIR}/${DISTNAME} ; ${GUNZIP_CMD} platon.f.gz xdrvr.c.gz)

post-patch:
	${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
	${REINPLACE_CMD} -e "s+%%LOCALBASE%%+${LOCALBASE}+"  ${WRKSRC}/Makefile

pre-install:
	${STRIP_CMD} ${WRKDIR}/${DISTNAME}/platon
	${RM} -f ${PREFIX}/bin/pluton
	${RM} -rf ${PREFIX}/share/doc/platon
	${MKDIR} ${PREFIX}/share/doc/platon
	${RM} -rf ${PREFIX}/share/doc/platon/TEST
	${MKDIR} ${PREFIX}/share/doc/platon/TEST

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/platon ${PREFIX}/bin
	${LN} -s ${PREFIX}/bin/platon ${PREFIX}/bin/pluton
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README* \
		${PREFIX}/share/doc/platon
	for file in ${SAMPLES} ; do \
		${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/$${file} \
			${PREFIX}/share/doc/platon ; \
	done
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/platon_html.tar.gz \
		${PREFIX}/share/doc/platon
	for dirs in ${TESTDATADIR} ; do \
		${MKDIR} ${PREFIX}/share/doc/platon/TEST/$${dirs} && \
		${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/TEST/$${dirs}/* \
			${PREFIX}/share/doc/platon/TEST/$${dirs} ; \
	done

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


1.31
log
@- Unbreak the port; I'm not sure how it could possibly work before

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


1.30
log
@- Fix fetch

Reported by:	pointyhat
Feature safe:	yes
@
text
@d10 1
a10 1
PORTREVISION=	4
d32 1
a32 2
		ASYM_EXAMPLE DELABS_EXAMPLE MULABS_EXAMPLE PSICOR_EXAMPLE \
		SQUEEZE_EXAMPLE
d41 1
a41 1
	(cd ${WRKDIR}/${DISTNAME} ; ${GUNZIP_CMD} platon.f.Z xdrvr.c.gz)
a59 2
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/VALIDATION.DOC \
		${PREFIX}/share/doc/platon
@


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

Approved by:	portmgr
@
text
@d12 1
a12 1
MASTER_SITES=	ftp://xraysoft.chem.uu.nl/pub/unix/
@


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


1.27
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.26
log
@Now we use USE_FORTRAN=yes to use FORTRAN compiler.
@
text
@d10 1
a10 1
PORTREVISION=	1
d23 1
a23 1
USE_XLIB=	yes
d46 1
a46 1
	${REINPLACE_CMD} -e "s+%%X11BASE%%+${X11BASE}+"  ${WRKSRC}/Makefile
@


1.25
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d24 1
a24 5
WANT_FORTRAN=	yes #dummy but future use
BUILD_DEPENDS+=	gfortran42:${PORTSDIR}/lang/gcc42
FC=		gfortran42
F77=		gfortran42
MAKE_ENV+=	FC="${FC}"
@


1.24
log
@* Migrate to gfortran.
* Bump port revision.
@
text
@d10 1
@


1.23
log
@- Satisfy portlint
@
text
@d9 1
a9 1
PORTVERSION=	2003.12.04
d23 5
d44 2
a45 3
.if ${OSVERSION} >= 400004
MAKE_ENV+=	HAVE_G2C=yes
.endif
d47 3
a49 4
pre-patch:
	(cd ${WRKDIR}/${DISTNAME} && ${GUNZIP_CMD} platon.f.Z)
	${SED} 's,%%X11BASE%%,${X11BASE},g' ${FILESDIR}/Makefile > ${WRKDIR}/${DISTNAME}/Makefile
	(cd ${WRKDIR}/${DISTNAME} && ${GUNZIP_CMD} xdrvr.c.gz)
@


1.22
log
@Reset rmiya@@cc.hirosaki-u.ac.jp who has not responded to email asking about
maintainer timeouts.

Hat:	portmgr
@
text
@d20 1
a20 1
RESTRICTED=	"free for academic, US$ 5000 for commercial users"
a32 1

d35 2
a36 2
.if ${MACHINE_ARCH} == "alpha"
BROKEN=	"/usr/libexec/elf/ld: platon.o: .got subsegment exceeds 64K (size 88552)"
@


1.21
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d14 1
a14 1
MAINTAINER=	rmiya@@cc.hirosaki-u.ac.jp
@


1.20
log
@- ARCH is defined in bsd.port.pre.mk
@
text
@d36 1
a36 1
.if ${ARCH} == "alpha"
@


1.19
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d33 3
a39 1
.include <bsd.port.pre.mk>
@


1.18
log
@- Update to last snapshot

PR:		ports/58511 (based on)
Submitted by:	Ryo MIYAMOTO <rmiya@@cc.hirosaki-u.ac.jp> (maintainer)
@
text
@d33 1
a33 1
.if ${MACHINE_ARCH} == "alpha"
@


1.17
log
@Mark BROKEN (see bento logs).  These ports are scheduled for removal
after Feb 2 2004 if they are still broken at that time and no fixes
have been submitted by PR.
@
text
@d9 1
a9 2
PORTVERSION=	2001.03.09
PORTREVISION=	1
a20 2

BROKEN=		"Broken pkg-plist, will be removed after Feb 2"
@


1.16
log
@BROKEN: Broken pkg-plist
@
text
@d23 1
a23 1
BROKEN=		"Broken pkg-plist"
@


1.15
log
@Make portlint(1) happy by changing strip to ${STRIP_CMD}

Submitted by:	Oleg Karachevtsev <ok@@etrust.ru>
PR:		56998
@
text
@d23 2
@


1.14
log
@honor CFLAGS and FFLAGS

PR:		54396
Submitted by:	Glenn Johnson <gjohnson@@srrc.ars.usda.gov>
@
text
@d49 1
a49 1
	strip ${WRKDIR}/${DISTNAME}/platon
@


1.13
log
@De-pkg-comment.
@
text
@d10 1
@


1.12
log
@add USE_XLIB

PR:		29330
Submitted by:	bento, Patrick Li <pat@@databits.net>
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/platon/Makefile,v 1.11 2001/04/13 18:50:23 sf Exp $
d15 1
@


1.11
log
@activate IGNOREFILES.
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/platon/Makefile,v 1.10 2001/03/12 14:31:53 kevlo Exp $
d20 2
@


1.10
log
@Update to lastest version

PR: 25726
Submitted by: maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/platon/Makefile,v 1.9 2000/08/01 23:31:19 jedgar Exp $
d20 3
@


1.9
log
@Fix MASTER_SITES

PR:		20120
Submitted by:	Maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/platon/Makefile,v 1.8 2000/06/08 08:51:02 knu Exp $
d9 1
a9 1
PORTVERSION=	2000.06.05
d39 1
@


1.8
log
@Update to the latest version as of 5 June.

PR:		ports/19113, ports/19115
Submitted by:	Maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/platon/Makefile,v 1.7 2000/05/28 03:56:25 steve Exp $
d11 1
a11 1
MASTER_SITES=	ftp://xraysoft.chem.ruu.nl/pub/unix/
@


1.7
log
@Update to version 2000.04.26.
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/platon/Makefile,v 1.6 2000/04/08 22:04:48 mharo Exp $
d9 1
a9 1
PORTVERSION=	2000.04.26
d38 1
a38 1
	${CP} ${FILESDIR}/Makefile ${WRKDIR}/${DISTNAME}
@


1.6
log
@update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/platon/Makefile,v 1.5 1999/08/28 01:56:55 mharo Exp $
d9 1
a9 1
PORTVERSION=	1999.04.07
a14 2

BROKEN='MD5 checksum error'
@


1.5
log
@ln -> ${LN}
@
text
@a1 1
# Version required:	Version 07-apr-99
d5 1
a5 1
# $FreeBSD: ports/biology/platon/Makefile,v 1.4 1999/08/25 04:48:02 obrien Exp $
d8 2
a9 2
DISTNAME=	platon
PKGNAME=	platon-070499
d12 1
@


1.4
log
@Change Id->FreeBSD.
@
text
@d6 1
a6 1
# $FreeBSD$
d52 1
a52 1
	ln -s ${PREFIX}/bin/platon ${PREFIX}/bin/pluton
@


1.3
log
@BROKEN='MD5 checksum error'
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.2 1999/05/24 02:12:36 steve Exp $
@


1.2
log
@Allow this port to be built on -current i386 boxes that have egcs' f77
compiler.  Mark it broken for -current Alpha boxes.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1999/05/07 06:56:51 taoka Exp $
d15 2
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d27 9
d67 1
a67 1
.include <bsd.port.mk>
@


1.1.1.1
log
@the one of crystallographic tools

Submitted by:		rmiya@@cc.hirosaki-u.ac.jp (Ryo MIYAMOTO)
@
text
@@
