head	1.21;
access;
symbols
	RELEASE_8_3_0:1.20
	RELEASE_9_0_0:1.20
	RELEASE_7_4_0:1.19
	RELEASE_8_2_0:1.19
	RELEASE_6_EOL:1.18
	RELEASE_8_1_0:1.16
	RELEASE_7_3_0:1.16
	RELEASE_8_0_0:1.15
	RELEASE_7_2_0:1.13
	RELEASE_7_1_0:1.13
	RELEASE_6_4_0:1.13
	RELEASE_5_EOL:1.12
	RELEASE_7_0_0:1.12
	RELEASE_6_3_0:1.12
	PRE_XORG_7:1.12
	RELEASE_4_EOL:1.12
	RELEASE_6_2_0:1.12
	RELEASE_6_1_0:1.12
	RELEASE_5_5_0:1.12
	RELEASE_6_0_0:1.8
	RELEASE_5_4_0:1.8
	RELEASE_4_11_0:1.8
	RELEASE_5_3_0:1.8
	RELEASE_4_10_0:1.8
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.6
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.5
	RELEASE_4_6_1:1.5
	RELEASE_4_6_0:1.5
	RELEASE_5_0_DP1:1.5
	RELEASE_4_5_0:1.5
	RELEASE_4_4_0:1.5
	RELEASE_4_3_0:1.2
	RELEASE_4_2_0:1.2
	RELEASE_4_1_1:1.2
	RELEASE_4_1_0:1.1;
locks; strict;
comment	@# @;


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

1.20
date	2011.09.23.22.23.44;	author amdmi3;	state Exp;
branches;
next	1.19;

1.19
date	2010.12.04.07.32.22;	author ade;	state Exp;
branches;
next	1.18;

1.18
date	2010.09.09.22.31.34;	author johans;	state Exp;
branches;
next	1.17;

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

1.16
date	2010.01.15.15.53.37;	author erwin;	state Exp;
branches;
next	1.15;

1.15
date	2009.08.22.00.24.33;	author amdmi3;	state Exp;
branches;
next	1.14;

1.14
date	2009.08.02.19.34.29;	author mezz;	state Exp;
branches;
next	1.13;

1.13
date	2008.08.21.06.17.30;	author rafan;	state Exp;
branches;
next	1.12;

1.12
date	2006.02.23.10.37.42;	author ade;	state Exp;
branches;
next	1.11;

1.11
date	2006.01.26.06.14.40;	author lawrance;	state Exp;
branches;
next	1.10;

1.10
date	2005.12.04.10.06.24;	author edwin;	state Exp;
branches;
next	1.9;

1.9
date	2005.11.15.06.49.56;	author ade;	state Exp;
branches;
next	1.8;

1.8
date	2004.03.14.06.16.50;	author ade;	state Exp;
branches;
next	1.7;

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

1.6
date	2003.02.21.12.35.05;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2001.07.13.03.37.14;	author markp;	state Exp;
branches;
next	1.4;

1.4
date	2001.07.11.16.33.46;	author fenner;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.28.19.45.46;	author fenner;	state Exp;
branches;
next	1.2;

1.2
date	2000.08.21.10.07.29;	author sobomax;	state Exp;
branches;
next	1.1;

1.1
date	2000.06.30.02.56.19;	author will;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Switch exporter over
@
text
@# New ports collection makefile for:	OO2C
# Date created:				December 17, 1999
# Whom:					Oliver Breuninger <ob@@seicom.NET>
#
# $FreeBSD: head/lang/oo2c/Makefile 300896 2012-07-14 13:54:48Z beat $

PORTNAME=	oo2c
PORTVERSION=	2.1.11
CATEGORIES=	lang
MASTER_SITES=	SF/ooc/ooc2/${PORTVERSION}
DISTNAME=	${PORTNAME}_${BITS}-${PORTVERSION}

MAINTAINER=	johans@@FreeBSD.org
COMMENT=	Optimizing Oberon-2 compiler of University of Kaiserslautern, Germany

BUILD_DEPENDS=	xsltproc:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS=	gc.1:${PORTSDIR}/devel/boehm-gc

DOCSDIR=	lib/${PORTNAME}
USE_BZIP2=	yes
USE_AUTOTOOLS=	libtool
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_LDCONFIG=	yes
CPPFLAGS+=	-I${LOCALBASE}/include -DGC_PTR='void*'
LDFLAGS+=	-L${LOCALBASE}/lib

MAN1=		oo2c.1 oob.1 ooef.1 oowhereis.1

ONLY_FOR_ARCHS=	i386 amd64 ia64

.include <bsd.port.pre.mk>

.if ${ARCH} == i386
BITS=		32
.else
BITS=		64
.endif

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


1.20
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.19
log
@Sync to new bsd.autotools.mk
@
text
@d25 2
a26 2
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -DGC_PTR='void*'" \
		LDFLAGS="-L${LOCALBASE}/lib"
@


1.18
log
@- Update to oo2c 2.1.11
- Unbreak
- Enable install on some 64-bit architectures
- Grab maintainership
@
text
@d21 1
a21 1
USE_AUTOTOOLS=	libtool:22
@


1.17
log
@Reset ob@@breuninger.org due to maintainer-timeouts and no response to email.

Hat:		portmgr
@
text
@d8 1
a8 2
PORTVERSION=	2.1.10
PORTREVISION=	1
d11 1
a11 1
DISTNAME=	${PORTNAME}_32-${PORTVERSION}
d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
a18 2
BROKEN=		does not build

d22 1
d24 2
a25 1
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
d30 9
a38 2
# This distribution is for 32-bit platforms.  A separate 64 bit distribution is available.
ONLY_FOR_ARCHS=	i386
d40 1
a40 1
.include <bsd.port.mk>
@


1.16
log
@Mark BROKEN: does not build
@
text
@d14 1
a14 1
MAINTAINER=	ob@@breuninger.org
@


1.15
log
@- Switch SourceForge ports to the new File Release System: categories starting with H,I,J,K,L
@
text
@d20 2
@


1.14
log
@-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
@
text
@d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	ooc
@


1.13
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d23 1
a23 1
USE_AUTOTOOLS=	libtool:15
@


1.12
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@a23 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.11
log
@Update to 2.1.10.
Remove BROKEN and replace with ONLY_FOR_ARCHS, since this distribution is
for 32-bit architectures.

PR:		ports/89613 (based on)
Submitted by:	Alexander Shiryaev <aixp@@mail.ru>
Approved by:	ob@@breuninger.org (maintainer, timeout 2 months)
@
text
@d9 1
d23 1
a23 1
GNU_CONFIGURE=	yes
a25 1
USE_AUTOTOOLS=	libtool:15
@


1.10
log
@Use INFO macro
@
text
@d8 1
a8 1
PORTVERSION=	1.5.2
d10 2
a11 3
MASTER_SITES=	http://www.uni-kl.de/OOC/files/oo2c/ \
		http://www.breuninger.org/files/distfiles/ \
		http://reality.sgi.com/boehm_mti/gc_source/
a12 1
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} gc4.14.tar.gz
d17 2
a18 3
USE_AUTOTOOLS=	libtool:13
CONFIGURE_ENV+=	INSTALL_SCRIPT="${INSTALL_SCRIPT}"
MAN1=		oo2c.1 oob.1 ooef.1 oocn.1 oowhereis.1
d20 8
a27 1
INFO=		OOCref
d29 1
a29 1
.include <bsd.port.pre.mk>
d31 2
a32 3
.if ${ARCH} != "i386"
BROKEN=		"Does not compile on !i386"
.endif
d34 1
a34 7
post-extract:
	@@${MV} ${WRKDIR}/gc    ${WRKSRC}/gc

post-install:
	@@${INSTALL_SCRIPT} ${FILESDIR}/oo2 ${PREFIX}/bin

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


1.9
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@d23 2
@


1.8
log
@Whoa there, boy, that's a mighty big commit y'all have there...

Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
@
text
@d19 1
a19 1
USE_LIBTOOL_VER=13
@


1.7
log
@BROKEN on !i386: Does not compile
@
text
@d19 1
a19 1
USE_LIBTOOL=	yes
@


1.6
log
@De-pkg-comment.
@
text
@d23 6
d35 1
a35 1
.include <bsd.port.mk>
@


1.5
log
@Replaced invalid master site

PR:		28912
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/oo2c/Makefile,v 1.4 2001/07/11 16:33:46 fenner Exp $
d17 1
@


1.4
log
@Oliver Breuninger sent me an updated email address, so put him back
 as MAINTAINER.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/oo2c/Makefile,v 1.3 2001/05/28 19:45:46 fenner Exp $
d11 1
a11 1
		ftp://ftp.de.uu.net/pub/programming/languages/oberon/www.uni-kl.de/OOC/files/oo2c/ \
@


1.3
log
@Remove ob@@seicom.NET as MAINTAINER; mail has been bouncing for 12 weeks.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/oo2c/Makefile,v 1.2 2000/08/21 10:07:29 sobomax Exp $
d16 1
a16 1
MAINTAINER=	ports@@freebsd.org
@


1.2
log
@USE_LIBTOOL implies GNU_CONFIGURE, so remove redundant GNU_CONFIGURE lines.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/oo2c/Makefile,v 1.1 2000/06/30 02:56:19 will Exp $
d16 1
a16 1
MAINTAINER=	ob@@seicom.NET
@


1.1
log
@Add oo2c, an Oberon-2 compiler.

PR:		18215
Submitted by:	Oliver Breuninger <ob@@seicom.net>
@
text
@d5 1
a5 1
# $FreeBSD$
a18 1
GNU_CONFIGURE=	yes
@

