head	1.31;
access;
symbols
	RELEASE_8_3_0:1.30
	RELEASE_9_0_0:1.30
	RELEASE_7_4_0:1.29
	RELEASE_8_2_0:1.29
	RELEASE_6_EOL:1.28
	RELEASE_8_1_0:1.25
	RELEASE_7_3_0:1.25
	RELEASE_8_0_0:1.23
	RELEASE_7_2_0:1.22
	RELEASE_7_1_0:1.22
	RELEASE_6_4_0:1.22
	RELEASE_5_EOL:1.20
	RELEASE_7_0_0:1.20
	RELEASE_6_3_0:1.20
	PRE_XORG_7:1.20
	RELEASE_4_EOL:1.20
	RELEASE_6_2_0:1.20
	RELEASE_6_1_0:1.16
	RELEASE_5_5_0:1.16
	RELEASE_6_0_0:1.16
	RELEASE_5_4_0:1.14
	RELEASE_4_11_0:1.14
	RELEASE_5_3_0:1.14
	RELEASE_4_10_0:1.11
	RELEASE_5_2_1:1.10
	RELEASE_5_2_0:1.10
	RELEASE_4_9_0:1.10
	RELEASE_5_1_0:1.10
	RELEASE_4_8_0:1.10
	RELEASE_5_0_0:1.9
	RELEASE_4_7_0:1.9
	RELEASE_4_6_2:1.9
	RELEASE_4_6_1:1.9
	RELEASE_4_6_0:1.9
	RELEASE_5_0_DP1:1.9
	RELEASE_4_5_0:1.9
	RELEASE_4_4_0:1.9
	RELEASE_4_3_0:1.9
	RELEASE_4_2_0:1.9
	RELEASE_4_1_1:1.9
	RELEASE_4_1_0:1.9
	RELEASE_3_5_0:1.9
	RELEASE_4_0_0:1.5
	RELEASE_3_4_0:1.5
	RELEASE_3_3_0:1.5
	RELEASE_3_2_0:1.3
	v7_02:1.1.1.1
	MIYAMOTO:1.1.1;
locks; strict;
comment	@# @;


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

1.30
date	2011.09.23.22.21.21;	author amdmi3;	state Exp;
branches;
next	1.29;

1.29
date	2010.12.04.07.30.35;	author ade;	state Exp;
branches;
next	1.28;

1.28
date	2010.10.16.11.51.47;	author ade;	state Exp;
branches;
next	1.27;

1.27
date	2010.10.05.19.57.26;	author ade;	state Exp;
branches;
next	1.26;

1.26
date	2010.09.15.18.33.57;	author ade;	state Exp;
branches;
next	1.25;

1.25
date	2009.12.22.11.25.15;	author miwi;	state Exp;
branches;
next	1.24;

1.24
date	2009.11.18.22.39.49;	author pav;	state Exp;
branches;
next	1.23;

1.23
date	2009.08.22.00.15.01;	author amdmi3;	state Exp;
branches;
next	1.22;

1.22
date	2008.08.22.22.20.05;	author maho;	state Exp;
branches;
next	1.21;

1.21
date	2008.07.25.09.08.41;	author pav;	state Exp;
branches;
next	1.20;

1.20
date	2006.07.10.05.32.58;	author rafan;	state Exp;
branches;
next	1.19;

1.19
date	2006.07.04.03.43.16;	author rafan;	state Exp;
branches;
next	1.18;

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

1.17
date	2006.04.05.06.13.45;	author linimon;	state Exp;
branches;
next	1.16;

1.16
date	2005.04.12.03.24.57;	author obrien;	state Exp;
branches;
next	1.15;

1.15
date	2005.04.11.08.01.29;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	2004.09.19.01.18.56;	author kris;	state Exp;
branches;
next	1.13;

1.13
date	2004.06.01.08.07.15;	author edwin;	state Exp;
branches;
next	1.12;

1.12
date	2004.06.01.02.28.01;	author edwin;	state Exp;
branches;
next	1.11;

1.11
date	2004.02.04.05.18.50;	author marcus;	state Exp;
branches;
next	1.10;

1.10
date	2003.02.21.11.01.34;	author knu;	state Exp;
branches;
next	1.9;

1.9
date	2000.06.11.19.51.53;	author alex;	state Exp;
branches;
next	1.8;

1.8
date	2000.06.07.16.20.59;	author will;	state Exp;
branches;
next	1.7;

1.7
date	2000.04.16.10.44.48;	author asami;	state Exp;
branches;
next	1.6;

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

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

1.4
date	99.05.24.02.20.15;	author steve;	state Exp;
branches;
next	1.3;

1.3
date	99.05.08.08.06.43;	author taoka;	state Exp;
branches;
next	1.2;

1.2
date	99.05.07.05.12.13;	author taoka;	state Exp;
branches;
next	1.1;

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

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


desc
@@


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

PORTNAME=	mopac
PORTVERSION=	7.${MOPAC_SUBVERSION}
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	biology
MASTER_SITES=	SF/${PORTNAME}7/${PORTNAME}7/${PORTNAME}7-1.00
DISTNAME=	${PORTNAME}7-${MOPAC_SUBVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Semi-empirical (MNDO, etc.) molecular orbital calculation

LIB_DEPENDS=	f2c:${PORTSDIR}/lang/f2c

USE_GMAKE=	yes
USE_AUTOTOOLS=	aclocal automake autoconf libtool
ACLOCAL_ARGS=	-I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS=	--add-missing --copy
MAKE_JOBS_SAFE=	yes
USE_LDCONFIG=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

MOPAC_SUBVERSION=	1.11

post-patch:
	@@${REINPLACE_CMD} -e '/pkgconfig/s|$$(libdir)|$$(prefix)/libdata|g' \
		${WRKSRC}/Makefile.am
	@@${REINPLACE_CMD} -e '/usage/s|run_||g' \
		${WRKSRC}/run_${PORTNAME}7

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/run_${PORTNAME}7 ${PREFIX}/bin/${PORTNAME}7
.if !defined(NOPORTEXAMPLES)
	@@${MKDIR} ${EXAMPLESDIR}/test
	${INSTALL_DATA} ${WRKSRC}/tests/*.dat ${EXAMPLESDIR}/test
.endif

.include <bsd.port.mk>
@


1.30
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.29
log
@Sync to new bsd.autotools.mk
@
text
@a24 1
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
d28 2
a29 2
CPPFLAGS=	-I${LOCALBASE}/include
LDFLAGS=	-L${LOCALBASE}/lib
@


1.28
log
@Punt autoconf267->autoconf268
@
text
@d22 1
a22 1
USE_AUTOTOOLS=	aclocal:111 automake:111 autoconf:268 libtool:22
@


1.27
log
@Round one migration of ports from automake{19,110} to automake111
@
text
@d22 1
a22 1
USE_AUTOTOOLS=	aclocal:111 automake:111 autoconf:267 libtool:22
@


1.26
log
@Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@d22 1
a22 1
USE_AUTOTOOLS=	aclocal:110 automake:110 autoconf:267 libtool:22
@


1.25
log
@- Update to 7.1.11

PR:		141812
Submitted by:	Ports Fury
@
text
@d10 1
d22 1
a22 1
USE_AUTOTOOLS=	aclocal:110 automake:110 autoconf:262 libtool:22
@


1.24
log
@- Mark MAKE_JOBS_UNSAFE

Reported by:	pointyhat
@
text
@a9 1
PORTREVISION=	1
d12 2
a13 3
MASTER_SITES=	SF/${PORTNAME}7/${PORTNAME}7/${PORTNAME}7-1.10
DISTNAME=	mopac7-${MOPAC_SUBVERSION}
EXTRACT_SUFX=	.tgz
a17 1
BUILD_DEPENDS=	f2c:${PORTSDIR}/lang/f2c
a19 3
MOPAC_SUBVERSION=	1.10
WRKSRC=		${WRKDIR}/mopac7-${MOPAC_SUBVERSION}
GNU_CONFIGURE=	yes
d21 11
a31 4
CONFIGURE_ENV+=	CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib"
MAKE_JOBS_UNSAFE=	yes
CFLAGS+=	-I${LOCALBASE}/include
d34 4
a37 3
	@@${REINPLACE_CMD} -e \
		"s,pkgconfigdir = .*,pkgconfigdir = $$\{exec_prefix\}/libdata/pkgconfig," \
		${WRKSRC}/Makefile.in
d40 2
a41 3
	${INSTALL_SCRIPT} ${WRKSRC}/run_mopac7  ${PREFIX}/bin/mopac7
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${EXAMPLESDIR}
d43 1
a43 2
	${INSTALL_DATA} ${WRKSRC}/tests/*dat ${EXAMPLESDIR}/test
	${INSTALL_DATA} ${WRKSRC}/tests/*OUT ${EXAMPLESDIR}/test
@


1.23
log
@- Switch SourceForge ports to the new File Release System: categories starting with B,C
@
text
@d29 1
@


1.22
log
@Add -lf2c, this is the correct dependency. Bump portrevision.
@
text
@d13 1
a13 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	mopac7
@


1.21
log
@- Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV
@
text
@d10 1
@


1.20
log
@- Fix pkg-plist [1]
- pet portlint(1)

Noticed by:	pointyhat via linimon [1]
@
text
@d28 2
a29 1
MAKE_ENV+=	CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
@


1.19
log
@- Use the correct MASTER_SITE_SUBDIR, make it fetchable

PR:		99757
Submitted by:	Jin-Shan Tseng <tjs@@cdpa.nsysu.edu.tw>
Approved by:	delphij (mentor, implicit)
@
text
@d13 1
a13 1
MASTER_SITE_SUBDIR=     mopac7
d20 2
a21 2
BUILD_DEPENDS=  f2c:${PORTSDIR}/lang/f2c
LIB_DEPENDS=    f2c:${PORTSDIR}/lang/f2c
d25 1
a25 1
GNU_CONFIGURE=  yes
d30 5
@


1.18
log
@Update to 1.10 (maintained by others) and unbreak.
@
text
@d13 1
a13 1
MASTER_SITE_SUBDIR=     mpqc7
@


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

Hat:	portmgr
@
text
@d9 2
a10 2
PORTVERSION=	7.02
PORTREVISION=	1
d12 4
a15 7
MASTER_SITES=	http://www.ccl.net/cca/software/SOURCES/FORTRAN/mopac7_sources/
DISTNAME=	mopac7
DISTFILES=	mopac7.tar.Z  mopac7-man.tar.Z

PATCH_SITES=	http://www.ccl.net/cca/software/LINUX/mopac7/old-version-95.06.21/
PATCHFILES=	mopac7-linux.diff.Z
PATCH_DIST_STRIP=	-p1
d20 6
d27 2
a28 24

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502126
BROKEN=		"Does not install on FreeBSD >= 5.x"
.endif

.if ${OSVERSION} >= 400005
BUILD_DEPENDS=	ftn77:${PORTSDIR}/lang/f77
MAKE_ARGS+=	FC=ftn77
.else
MAKE_ARGS+=	FC=f77
.endif
MAKE_ARGS+=	FFLAGS="${FFLAGS} -w" CFLAGS="${CFLAGS} -I${PREFIX}/include"
.if ${MACHINE_ARCH} == "i386"
FFLAGS+=	-malign-double
.endif

post-patch:
	${CP}  ${WRKDIR}/${DISTNAME}/esp.rof  ${WRKDIR}/${DISTNAME}/esp.f

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/MOPAC7 ${PREFIX}/bin
	${INSTALL_SCRIPT} ${FILESDIR}/rmopac ${PREFIX}/bin
d31 1
d33 4
a36 8
	${MKDIR} ${PREFIX}/share/doc/mopac
	${MKDIR} ${PREFIX}/share/examples/mopac
	${MKDIR} ${PREFIX}/share/mopac/test
	${INSTALL_DATA} ${FILESDIR}/h2o.dat  ${PREFIX}/share/examples/mopac
	${INSTALL_SCRIPT} ${WRKDIR}/mopac7/test.csh ${PREFIX}/share/mopac/test
	${INSTALL_DATA} ${WRKDIR}/mopac7/test_* ${PREFIX}/share/mopac/test
	${INSTALL_DATA} ${WRKDIR}/mopac7-man/mopac.tex ${PREFIX}/share/doc/mopac
	${INSTALL_DATA} ${WRKDIR}/mopac7-man/mopac.dvi ${PREFIX}/share/doc/mopac
d39 1
a39 1
.include <bsd.port.post.mk>
@


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


1.15
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d38 1
a38 1
.if ${ARCH} == "i386"
@


1.14
log
@BROKEN on 5.x: Does not install

Approved by:	portmgr (self)
@
text
@d38 1
a38 1
.if ${MACHINE_ARCH} == "i386"
@


1.13
log
@[PATCH] biology/mopac patchsite fix

	this is a followup to ports/67432

	I completely overlooked the fact that the port was setting
	PATCH_SITES, here's a fix for that

	maintainer cc'd

PR:		ports/67441
Submitted by:	Roman Neuhauser <neuhauser@@chello.cz>
@
text
@d27 4
@


1.12
log
@[PATCH] biology/mopac distsite fix

	connection refused (portsurvey reports timeouts)

PR:		ports/67432
Submitted by:	Roman Neuhauser <neuhauser@@chello.cz>
@
text
@d16 1
a16 1
PATCH_SITES=	ftp://ftp.ccl.net/pub/chemistry/software/LINUX/mopac7/old-version-95.06.21/
@


1.11
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
@
text
@d12 1
a12 1
MASTER_SITES=	ftp://ftp.ccl.net/pub/chemistry/software/SOURCES/FORTRAN/mopac7_sources/
@


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


1.9
log
@fc is ftn77 now, adjust accordingly.

PR:		19160, 19161
Submitted by:	Glenn Johnson <gjohnson@@nola.srrc.usda.gov>
Reviewed by:	will
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/mopac/Makefile,v 1.8 2000/06/07 16:20:59 will Exp $
d20 1
@


1.8
log
@Convert to usable F77 binary, especially on 4.0 and newer.

PR:		19090
Submitted by:	MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD$
d26 2
a27 2
BUILD_DEPENDS=	fc:${PORTSDIR}/lang/f77
MAKE_ARGS+=	FC=fc
d31 1
@


1.7
log
@WRKSRC-related fixes.
@
text
@d1 3
a3 3
# New ports collection makefile for:  mopac
# Date created:  1997-04-23
# Whom:	 Ryo MIYAMOTO <rmiya@@cc.hirosaki-u.ac.jp>
d5 1
a5 1
# $FreeBSD: ports/biology/mopac/Makefile,v 1.6 2000/04/08 22:04:43 mharo Exp $
d15 1
a15 1
PATCH_SITES=   ftp://ftp.ccl.net/pub/chemistry/software/LINUX/mopac7/old-version-95.06.21/
d24 1
d26 7
a32 1
MAKE_ENV+=	HAVE_G2C=yes
a37 5
pre-install:
	${CP} ${FILESDIR}/rmopac  ${WRKDIR}/${DISTNAME}/rmopac
	${RM} -rf ${PREFIX}/share/doc/mopac
	${MKDIR} ${PREFIX}/share/doc/mopac

a38 1
	strip ${WRKDIR}/${DISTNAME}/MOPAC7
d40 1
a40 1
	${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/rmopac ${PREFIX}/bin
d43 7
a49 2
	${INSTALL_DATA} ${FILESDIR}/h2o.dat  ${PREFIX}/share/doc/mopac
	${INSTALL_DATA} ${WRKDIR}/mopac7/test_* ${PREFIX}/share/doc/mopac
d52 1
@


1.6
log
@update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/mopac/Makefile,v 1.5 1999/08/25 04:48:00 obrien Exp $
d12 1
@


1.5
log
@Change Id->FreeBSD.
@
text
@a1 1
# Version required:  7
d5 1
a5 1
# $FreeBSD$
d8 2
a9 2
DISTNAME=	mopac7
PKGNAME=	mopac-7.02
@


1.4
log
@Fix build for -current boxes with egcs' f77 compiler.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1999/05/08 08:06:43 taoka Exp $
@


1.3
log
@Changed MASTER_SITES

PR:		11571
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.2 1999/05/07 05:12:13 taoka Exp $
d23 5
d47 1
a47 1
.include <bsd.port.mk>
@


1.2
log
@Be able to use ${PREFIX}

Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1999/04/01 08:06:43 taoka Exp $
d12 1
a12 1
MASTER_SITES=	ftp://ccl.osc.edu/pub/chemistry/software/SOURCES/FORTRAN/mopac7_sources/
d15 1
a15 1
PATCH_SITES=	ftp://ccl.osc.edu/pub/chemistry/software/LINUX/mopac7/old-version-95.06.21/
@


1.1
log
@Initial revision
@
text
@d31 5
d37 4
a40 3
	${INSTALL_DATA} ${FILESDIR}/h2o.dat  ${PREFIX}/share/doc/mopac/
	${INSTALL_DATA} ${WRKDIR}/mopac7-man/mopac.tex  ${PREFIX}/share/doc/mopac/
	${INSTALL_DATA} ${WRKDIR}/mopac7-man/mopac.dvi  ${PREFIX}/share/doc/mopac
@


1.1.1.1
log
@Semi-empirical (MNDO, etc.) molecular orbital calculation

PR:             ports/8863
Submitted by:   Ryo MIYAMOTO rmiya@@cc.hirosaki-u.ac.jp
@
text
@@
