head	1.16;
access;
symbols
	RELEASE_8_3_0:1.15
	RELEASE_9_0_0:1.15
	RELEASE_7_4_0:1.14
	RELEASE_8_2_0:1.14
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.14
	RELEASE_8_0_0:1.14
	RELEASE_7_2_0:1.14
	RELEASE_7_1_0:1.14
	RELEASE_6_4_0:1.14
	RELEASE_5_EOL:1.13
	RELEASE_7_0_0:1.11
	RELEASE_6_3_0:1.11
	PRE_XORG_7:1.11
	RELEASE_4_EOL:1.10
	RELEASE_6_2_0:1.9
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.3;
locks; strict;
comment	@# @;


1.16
date	2012.11.17.05.58.56;	author svnexp;	state Exp;
branches;
next	1.15;

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

1.14
date	2008.08.21.06.17.31;	author rafan;	state Exp;
branches;
next	1.13;

1.13
date	2008.05.09.17.10.01;	author itetcu;	state Exp;
branches;
next	1.12;

1.12
date	2008.01.29.09.36.02;	author vanilla;	state Exp;
branches;
next	1.11;

1.11
date	2007.02.01.02.41.44;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2006.12.05.15.01.18;	author jmelo;	state Exp;
branches;
next	1.9;

1.9
date	2006.07.19.22.53.57;	author thierry;	state Exp;
branches;
next	1.8;

1.8
date	2006.07.16.21.09.05;	author linimon;	state Exp;
branches;
next	1.7;

1.7
date	2006.04.11.15.39.41;	author garga;	state Exp;
branches;
next	1.6;

1.6
date	2006.02.01.11.46.17;	author garga;	state Exp;
branches;
next	1.5;

1.5
date	2005.12.10.18.50.03;	author flz;	state Exp;
branches;
next	1.4;

1.4
date	2005.10.31.14.43.04;	author garga;	state Exp;
branches;
next	1.3;

1.3
date	2005.04.21.19.11.07;	author jylefort;	state Exp;
branches;
next	1.2;

1.2
date	2005.04.18.15.59.06;	author jylefort;	state Exp;
branches;
next	1.1;

1.1
date	2005.04.15.17.08.03;	author jylefort;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Switch exporter over
@
text
@# New ports collection makefile for:   see
# Date created:        29 Oct 2005
# Whom:                Simun Mikecin <numisemis@@yahoo.com>
#
# $FreeBSD: head/lang/see/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	see
PORTVERSION=	2.0.1131
PORTREVISION=	1
CATEGORIES=	lang devel
MASTER_SITES=	http://www.powerband.net.au/~david.leonard/ \
		http://freshmeat.net/redir/see/45974/url_tgz/

MAINTAINER=	numisemis@@yahoo.com
COMMENT=	Simple ECMAScript Engine (SEE)

OPTIONS=	GC "Use Boehm-Weiser garbage collection package" on \
		OPTIMIZED_CFLAGS "Enable some additional optimizations" off \
		SEE_DEBUG "Internal SEE library debugging" off \
		MULTIPLE_THREADS "Enable thread-safety" on

CONFLICTS=	see-devel-[0-9]*

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
LATEST_LINK=	${PORTNAME}${PKGNAMESUFFIX}

USE_LDCONFIG=	yes
USE_PERL5_BUILD=yes
GNU_CONFIGURE=	yes

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

.include <bsd.port.pre.mk>

.if defined(WITH_MULTIPLE_THREADS)
CFLAGS+=	-DMULTIPLE_THREADS
.endif

.if !defined(WITH_SEE_DEBUG)
CFLAGS+=	-DNDEBUG
.endif

.if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS+=	-O3 -fomit-frame-pointer
.endif

.if defined(WITH_GC)
LIB_DEPENDS+=	gc:${PORTSDIR}/devel/boehm-gc
.else
CONFIGURE_ARGS+=	--without-boehm-gc
.if !defined(WITH_MULTIPLE_THREADS)
PTHREAD_CFLAGS=
PTHREAD_LIBS=
.endif
.endif

post-patch:
	@@${REINPLACE_CMD} -e "s|PACKAGE_BUGREPORT='leonard@@users|PACKAGE_BUGREPORT='leonard\\\@@users|" \
		${WRKSRC}/configure

.if !defined(NOPORTDOCS)
post-install:
	${MKDIR} ${DOCSDIR}
.for f in doc/USAGE.html AUTHORS NEWS README TODO COPYING
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

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


1.15
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.14
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
@d32 2
a33 2
CONFIGURE_ENV=	LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
		CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
@


1.13
log
@- add new option MULTIPLE_THREADS. With this option enabled libsee/dtoa.c is
compiled with proper thread locking.
- bump PORTVERSION

PR:		ports/122525
Submitted by:	maintainer
@
text
@a33 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.12
log
@Upgrade to 2.0.1131.

PR:		ports/120082
Submitted by:	maintainer
@
text
@d10 1
d20 2
a21 1
		SEE_DEBUG "Internal SEE library debugging" off
d38 4
d54 1
d58 1
@


1.11
log
@Use libtool port instead of included version to avoid objformat a.out botch
@
text
@d2 2
a3 2
# Date created:        22 September 2004
# Whom:                numisemis@@yahoo.com
d9 1
a9 2
PORTVERSION=	1.3.1
PORTREVISION=	1
d11 2
a12 1
MASTER_SITES=	http://www.powerband.net.au/~david.leonard/
d17 4
d23 2
a24 2
OPTIONS=	GC "Use Boehm-Weiser garbage collection pkg" on \
		OPTIMIZED_CFLAGS "Enable some additional optimizations" off
d26 2
a27 2
USE_AUTOTOOLS=	libtool:15
INSTALLS_SHLIB=	yes
a28 2
USE_GMAKE=	yes
USE_PERL5_BUILD=	yes
d32 1
d36 4
d44 1
a44 1
.if !defined(WITHOUT_GC)
d59 1
a59 1
.for f in doc/USAGE.html AUTHORS NEWS README TODO
@


1.10
log
@- Update mastersite.

PR:		ports/105690
Submitted by:	Simun Mikecin <numisemis@@yahoo.com> (maintainer)
@
text
@d22 1
@


1.9
log
@Unbreak.

PR:		ports/100557
Submitted by:	Simun Mikecin <numisemis (at) yahoo.com> (maintainer)
@
text
@d12 1
a12 1
MASTER_SITES=	http://www.adaptive-enterprises.com.au/~d/software/see/
@


1.8
log
@Mark as broken: fail to install.
@
text
@a16 2
BROKEN=		fails to install

@


1.7
log
@- Fix: If summer-time daylight saving is in effect, getHours() returns
  wrong value.
- Change .if defined(WITH_GC) -> ;if !defined(WITHOUT_GC) since it's on
  by default.

PR:		ports/94996
Submitted by:	maintainer
@
text
@d17 2
@


1.6
log
@- Update to 1.3.1

PR:		ports/92674
Submitted by:	maintainer
@
text
@d10 1
d19 1
a19 1
OPTIONS=	GC "Use Boehm-Weiser garbage collection package" on \
d36 1
a36 1
.if defined(WITH_GC)
@


1.5
log
@- Add new locations in MASTER_SITES.

PR:		ports/90201
Submitted by:	maintainer
@
text
@d3 1
a3 1
# Whom:                sime@@logos.hr
d9 3
a11 8
PORTVERSION=	1.2
PORTREVISION=	2
CATEGORIES=	lang
MASTER_SITES=	http://www.netsw.org/softeng/lang/js/ \
		ftp://ftp.osuosl.org/pub/FreeBSD/distfiles/ \
		http://mirror.arcticnetwork.ca/pub/FreeBSD/distfiles/ \
		http://ftp3.ie.freebsd.org/pub/FreeBSD/distfiles/ \
		http://www.adaptive-enterprises.com.au/~d/software/see/
d13 1
a13 1
MAINTAINER=	sime@@logos.hr
a24 1
USE_REINPLACE=	yes
d32 1
a32 1
CFLAGS+=	-O2 -fomit-frame-pointer
d44 1
a44 1
	@@${REINPLACE_CMD} -e "s|PACKAGE_BUGREPORT='dleonard@@users|PACKAGE_BUGREPORT='dleonard\\\@@users|" \
@


1.4
log
@- Register CONFLICTS with see-devel
@
text
@d13 3
@


1.3
log
@Fix return value of local timezone methods such as getHours().

PR:		ports/80198
Submitted by:	Simun Mikecin <sime@@logos.hr> (maintainer)
Approved by:	adamw (mentor, implicit)
@
text
@d18 2
@


1.2
log
@Fix some declarations, allowing programs to link against libsee.

Submitted by:	Simun Mikecin <sime@@logos.hr>
Approved by:	adamw (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.1
log
@Library that provides an ECMAScript (JavaScript) run-time environment.

PR:		ports/72055
Submitted by:	Simun Mikecin <sime@@logos.hr>
Approved by:	adamw (mentor)
@
text
@d10 1
@

