head	1.21;
access;
symbols
	RELEASE_8_3_0:1.20
	RELEASE_9_0_0:1.20
	RELEASE_7_4_0:1.20
	RELEASE_8_2_0:1.20
	RELEASE_6_EOL:1.20
	RELEASE_8_1_0:1.20
	RELEASE_7_3_0:1.20
	RELEASE_8_0_0:1.20
	RELEASE_7_2_0:1.19
	RELEASE_7_1_0:1.18
	RELEASE_6_4_0:1.18
	RELEASE_5_EOL:1.18
	RELEASE_7_0_0:1.17
	RELEASE_6_3_0:1.17
	PRE_XORG_7:1.16
	RELEASE_4_EOL:1.16
	RELEASE_6_2_0:1.13
	RELEASE_6_1_0:1.12
	RELEASE_5_5_0:1.12
	RELEASE_6_0_0:1.12
	RELEASE_5_4_0:1.12
	RELEASE_4_11_0:1.12
	RELEASE_5_3_0:1.12
	RELEASE_4_10_0:1.11
	RELEASE_5_2_1:1.11
	RELEASE_5_2_0:1.11
	RELEASE_4_9_0:1.11
	RELEASE_5_1_0:1.11
	RELEASE_4_8_0:1.11
	RELEASE_5_0_0:1.10
	RELEASE_4_7_0:1.10
	RELEASE_4_6_2:1.10
	RELEASE_4_6_1:1.10
	RELEASE_4_6_0:1.10
	RELEASE_5_0_DP1:1.10
	RELEASE_4_5_0:1.10
	RELEASE_4_4_0:1.10
	RELEASE_4_3_0:1.10
	RELEASE_4_2_0:1.10
	RELEASE_4_1_1:1.7
	RELEASE_4_1_0:1.7
	RELEASE_3_5_0:1.5
	RELEASE_4_0_0:1.3
	RELEASE_3_4_0:1.3
	RELEASE_3_3_0:1.3
	v1_0:1.1.1.1
	MIYAMOTO:1.1.1;
locks; strict;
comment	@# @;


1.21
date	2012.11.17.05.54.52;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2009.09.13.00.07.41;	author gerald;	state Exp;
branches;
next	1.19;

1.19
date	2009.01.07.16.34.08;	author gerald;	state Exp;
branches;
next	1.18;

1.18
date	2008.04.19.17.46.46;	author miwi;	state Exp;
branches;
next	1.17;

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

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

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

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

1.13
date	2006.04.05.06.13.45;	author linimon;	state Exp;
branches;
next	1.12;

1.12
date	2004.06.02.03.32.57;	author pav;	state Exp;
branches;
next	1.11;

1.11
date	2003.02.21.11.01.35;	author knu;	state Exp;
branches;
next	1.10;

1.10
date	2000.10.10.18.28.22;	author jeh;	state Exp;
branches;
next	1.9;

1.9
date	2000.10.10.01.16.23;	author jeh;	state Exp;
branches;
next	1.8;

1.8
date	2000.10.07.21.28.51;	author asami;	state Exp;
branches;
next	1.7;

1.7
date	2000.07.03.02.50.58;	author kris;	state Exp;
branches;
next	1.6;

1.6
date	2000.06.20.10.04.12;	author alex;	state Exp;
branches;
next	1.5;

1.5
date	2000.06.11.15.13.49;	author alex;	state Exp;
branches;
next	1.4;

1.4
date	2000.04.08.22.04.45;	author mharo;	state Exp;
branches;
next	1.3;

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

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

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

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


desc
@@


1.21
log
@Switch exporter over
@
text
@# New ports collection makefile for:	ORTEP-III
# Date created:		1999-05-08
# Whom:			Ryo MIYAMOTO
#
# $FreeBSD: head/biology/ortep3/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	ortep3
PORTVERSION=	1.0.3
PORTREVISION=	5
CATEGORIES=	biology
MASTER_SITES=	http://www.ccl.net/cca/software/SOURCES/FORTRAN/ortep/:Z \
		ftp://ftp.ornl.gov/pub/ortep/src/:f
DISTFILES=	ortep.tar.Z:Z ortep.f:f
EXTRACT_ONLY=	ortep.tar.Z

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	The Oak Ridge Thermal Ellipsoid Plot Program for Crystal Structure

.if defined(WITH_PGPLOT)
LIB_DEPENDS=	pgplot.5:${PORTSDIR}/graphics/pgplot
.endif

USE_FORTRAN=	yes
WRKSRC=		${WRKDIR}/ortep/src
MAKE_ARGS=	LFLAGS="${LFLAGS}"

.if defined(WITH_PGPLOT)
EXTRA_PATCHES=	${FILESDIR}/extra-patch-aa
LFLAGS=		-L${LOCALBASE}/lib -lpgplot -lX11
.endif

post-extract:
	${MV} ${WRKSRC}/ortep.f ${WRKSRC}/ortep.f-1.0
	${CP} ${DISTDIR}/ortep.f ${WRKSRC}/ortep.f

pre-build:
	${CP} ${FILESDIR}/Makefile.ortep3 ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ortep3 ${PREFIX}/bin
	@@${MKDIR} ${PREFIX}/share/doc/ortep3
	${INSTALL_DATA} ${WRKSRC}/../README.1st \
		${PREFIX}/share/doc/ortep3
	@@${MKDIR} ${PREFIX}/share/doc/ortep3/examples
	${INSTALL_DATA} ${WRKSRC}/../examples/* \
		${PREFIX}/share/doc/ortep3/examples
	@@${MKDIR} ${PREFIX}/share/doc/ortep3/man
	${INSTALL_DATA} ${WRKSRC}/../man/* \
		${PREFIX}/share/doc/ortep3/man
	@@${MKDIR} ${PREFIX}/share/doc/ortep3/src
	${INSTALL_DATA} ${WRKSRC}/000readme.txt \
		${PREFIX}/share/doc/ortep3/src

.include <bsd.port.mk>
@


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

Approved by:	portmgr
@
text
@d5 1
a5 1
# $FreeBSD$
@


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


1.18
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=	3
@


1.17
log
@Now we use USE_FORTRAN=yes to use FORTRAN compiler.
@
text
@d30 1
a30 1
LFLAGS=		-L${LOCALBASE}/lib -lpgplot -L${X11BASE}/lib -lX11
@


1.16
log
@Fix build.

Submitted by:	kris via pointyhat.
@
text
@d24 1
a24 5
WANT_FORTRAN=	yes #dummy but future use
BUILD_DEPENDS+=	gfortran42:${PORTSDIR}/lang/gcc42
FC=		gfortran42
F77=		gfortran42

d26 1
a26 2

MAKE_ARGS=	FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}" LFLAGS="${LFLAGS}"
@


1.15
log
@Using gfortran42 only. not using gcc42.
Bump portrevision.
@
text
@d31 1
a31 1
MAKE_ARGS=	FFLAGS="${FFLAGS}" LFLAGS="${LFLAGS}"
@


1.14
log
@migrated to gfortran.
@
text
@d10 1
a10 1
PORTREVISION=	2
d24 4
a27 2
WANT_FORTRAN=yes
USE_GCC=4.2+
@


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

Hat:	portmgr
@
text
@d24 3
@


1.12
log
@- Update MASTER_SITES

PR:		ports/67472
Submitted by:	Roman Neuhauser <neuhauser@@chello.cz>
@
text
@d17 1
a17 1
MAINTAINER=	rmiya@@cc.hirosaki-u.ac.jp
@


1.11
log
@De-pkg-comment.
@
text
@d12 3
a14 3
MASTER_SITES=	ftp://ftp.ccl.net/pub/chemistry/software/SOURCES/FORTRAN/ortep/ \
		ftp://ftp.ornl.gov/pub/ortep/src/
DISTFILES=	ortep.tar.Z ortep.f
@


1.10
log
@PR 21608 was not processed as intented.

Bumped PORTREVISION and removed duplicate from pkg-plist.

PR:		21894
Submitted by:	KATO Tsuguru <tkato@@prontomail.ne.jp>
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/ortep3/Makefile,v 1.9 2000/10/10 01:16:23 jeh Exp $
d18 1
@


1.9
log
@- Fix MASTER_SITES/DISTNAME
- USEPGPLOT -> WITH_PGPLOT
- Support FFLAGS/X11BASE properly

Remove file:
  files/patch-ab

PR:		21608
Submitted by:	KATO Tsuguru <tkato@@prontomail.ne.jp>
Approved by:	rmiya@@cc.hirosaki-u.ac.jp (Ryo MIYAMOTO) MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/ortep3/Makefile,v 1.8 2000/10/07 21:28:51 asami Exp $
d10 1
a10 1
PORTREVISION=	1
d25 7
d36 1
a36 1
pre-patch:
a37 9
.if defined(USEPGPLOT)
	cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/extra-patch-aa
.endif
  
pre-install:
	${MKDIR} ${PREFIX}/share/doc/ortep3
	${MKDIR} ${PREFIX}/share/doc/ortep3/examples
	${MKDIR} ${PREFIX}/share/doc/ortep3/man
	${MKDIR} ${PREFIX}/share/doc/ortep3/src
d41 12
a52 8
	${INSTALL_DATA} ${WRKDIR}/ortep/examples/* \
	      ${PREFIX}/share/doc/ortep3/examples
	${INSTALL_DATA} ${WRKDIR}/ortep/man/* \
	      ${PREFIX}/share/doc/ortep3/man
	${INSTALL_DATA} ${WRKDIR}/ortep/src/000readme.txt \
	      ${PREFIX}/share/doc/ortep3/src
	${INSTALL_DATA} ${WRKDIR}/ortep/README.1st \
	      ${PREFIX}/share/doc/ortep3
@


1.8
log
@Rename ${FILESDIR}/patch-* to ${PATCHDIR}/extra-patch-*.

(This should probably be rewritten to use EXTRA_PATCHES but I don't have
time to test it now.)
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/ortep3/Makefile,v 1.7 2000/07/03 02:50:58 kris Exp $
d10 1
d12 4
a15 7
#MASTER_SITES=	ftp://ftp.ccl.net/pub/chemistry/software/SOURCES/FORTRAN/ortep/ 
#		ftp://ftp.ornl.gov/pub/ortep/src/
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=alex
DISTFILES=	ortep-1.0.3.tar.Z ortep-1.0.3.f
DISTNAME=	ortep
EXTRACT_ONLY=	ortep-1.0.3.tar.Z
d19 1
d21 1
d23 1
a23 1
WRKSRC=		${WRKDIR}/${DISTNAME}/src
d27 1
a27 1
	${CP} ${DISTDIR}/ortep-${PORTVERSION}.f ${WRKSRC}/ortep.f
d30 1
a30 1
	${CP} ${FILESDIR}/Makefile.ortep3 ${WRKDIR}/${DISTNAME}/src/Makefile
d32 1
a32 2
	cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/extra-patch-aa
	cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/extra-patch-ab
d34 1
a34 1

d43 1
a43 1
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/examples/* \
d45 1
a45 1
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/man/* \
d47 1
a47 1
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/src/000readme.txt \
d49 1
a49 1
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README.1st \
@


1.7
log
@Unbreak by extracting the correct distfile

Noticed by:	bento
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/ortep3/Makefile,v 1.6 2000/06/20 10:04:12 alex Exp $
d32 2
a33 2
	cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/patch-aa
	cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/patch-ab
@


1.6
log
@...local-distfiles... -> MASTER_SITE_LOCAL
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/ortep3/Makefile,v 1.5 2000/06/11 15:13:49 alex Exp $
d17 1
a17 1
EXTRACT_ONLY=	ortep.tar.Z
a24 6
.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 400002 && ${OSVERSION} < 400018
BROKEN=	doesn\'t build with new f77 compiler
.endif

d53 1
a53 1
.include <bsd.port.post.mk>
@


1.5
log
@Update to version 1.0.3
PR:		19094
Submitted by:	maintainer

While I'm hear, clean up the port, e.g.:
* Don't create/delete PATCHDIR while building this port
* put the distfile, which is unversioned, to my local-distfiles space.
* remove/reorder some actions, such as stripping twice.

Reviewed by:	will
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/ortep3/Makefile,v 1.4 2000/04/08 22:04:45 mharo Exp $
d13 2
a14 1
MASTER_SITES=	ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/alex/
@


1.4
log
@update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/ortep3/Makefile,v 1.3 1999/08/25 04:48:01 obrien Exp $
d9 1
a9 1
PORTVERSION=	1.0
d11 4
a14 1
MASTER_SITES=	ftp://ftp.ccl.net/pub/chemistry/software/SOURCES/FORTRAN/ortep/
d16 1
a16 1
EXTRACT_SUFX=	.tar.Z
d22 2
d25 2
a26 1
.if ${OSVERSION} >= 400002
d30 4
d37 2
a38 2
	${CP} ${FILESDIR}/patch-aa ${PATCHDIR}/
	${CP} ${FILESDIR}/patch-ab ${PATCHDIR}/
a40 9
post-patch:
.if defined(USEPGPLOT)
	${RM} ${PATCHDIR}/patch-aa
	${RM} ${PATCHDIR}/patch-ab
.endif

do-build:
	(cd ${WRKDIR}/${DISTNAME}/src && ${MAKE} all)

a41 2
	strip ${WRKDIR}/${DISTNAME}/src/ortep3
	${RM} -rf ${PREFIX}/share/doc/ortep3
d48 1
a48 1
	${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/src/ortep3 ${PREFIX}/bin
@


1.3
log
@Change Id->FreeBSD.
@
text
@a1 1
# Version required:	1.0
d5 1
a5 1
# $FreeBSD$
d8 6
a13 5
DISTNAME= ortep
PKGNAME= ortep3-1.0
CATEGORIES= biology
MASTER_SITES= ftp://ftp.ccl.net/pub/chemistry/software/SOURCES/FORTRAN/ortep/
EXTRACT_SUFX= .tar.Z
d15 1
a15 1
MAINTAINER= rmiya@@cc.hirosaki-u.ac.jp
d17 1
a17 1
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
@


1.2
log
@This port doesn't build with egcs' f77 compiler.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1999/05/19 13:37:58 taoka Exp $
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d19 5
d59 1
a59 1
.include <bsd.port.mk>
@


1.1.1.1
log
@The Oak Ridge Thermal Ellipsoid Plot Program for Crystal Structure

PR:		11649
Submitted by:	Ryo MIYAMOTO <rmiya@@cc.hirosaki-u.ac.jp>
@
text
@@
