head	1.35;
access;
symbols
	RELEASE_8_3_0:1.33
	RELEASE_9_0_0:1.32
	RELEASE_7_4_0:1.32
	RELEASE_8_2_0:1.32
	RELEASE_6_EOL:1.31
	RELEASE_8_1_0:1.29
	RELEASE_7_3_0:1.27
	RELEASE_8_0_0:1.25
	RELEASE_7_2_0:1.25
	RELEASE_7_1_0:1.25
	RELEASE_6_4_0:1.25
	RELEASE_5_EOL:1.23
	RELEASE_7_0_0:1.22
	RELEASE_6_3_0:1.22
	PRE_XORG_7:1.21
	RELEASE_4_EOL:1.21
	RELEASE_6_2_0:1.21
	RELEASE_6_1_0:1.19
	RELEASE_5_5_0:1.19
	RELEASE_6_0_0:1.16
	RELEASE_5_4_0:1.14
	RELEASE_4_11_0:1.12
	RELEASE_5_3_0:1.12
	RELEASE_4_10_0:1.11
	RELEASE_5_2_1:1.8
	RELEASE_5_2_0:1.8
	RELEASE_4_9_0:1.7
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1;
locks; strict;
comment	@# @;


1.35
date	2012.11.17.05.58.51;	author svnexp;	state Exp;
branches;
next	1.34;

1.34
date	2012.10.25.08.32.46;	author jhale;	state Exp;
branches;
next	1.33;

1.33
date	2012.03.12.06.52.24;	author jgh;	state Exp;
branches;
next	1.32;

1.32
date	2010.12.04.07.32.21;	author ade;	state Exp;
branches;
next	1.31;

1.31
date	2010.10.16.11.52.14;	author ade;	state Exp;
branches;
next	1.30;

1.30
date	2010.09.15.18.34.38;	author ade;	state Exp;
branches;
next	1.29;

1.29
date	2010.06.26.12.02.07;	author stefan;	state Exp;
branches;
next	1.28;

1.28
date	2010.06.25.13.05.33;	author stefan;	state Exp;
branches;
next	1.27;

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

1.26
date	2010.01.02.17.31.40;	author linimon;	state Exp;
branches;
next	1.25;

1.25
date	2008.08.21.06.17.30;	author rafan;	state Exp;
branches;
next	1.24;

1.24
date	2008.08.20.00.56.51;	author ade;	state Exp;
branches;
next	1.23;

1.23
date	2008.03.19.07.43.35;	author vs;	state Exp;
branches;
next	1.22;

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

1.21
date	2006.08.29.07.39.34;	author vs;	state Exp;
branches;
next	1.20;

1.20
date	2006.03.16.09.43.10;	author vs;	state Exp;
branches;
next	1.19;

1.19
date	2006.01.10.09.51.23;	author vs;	state Exp;
branches;
next	1.18;

1.18
date	2005.11.21.01.32.18;	author kris;	state Exp;
branches;
next	1.17;

1.17
date	2005.11.15.06.49.54;	author ade;	state Exp;
branches;
next	1.16;

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

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

1.14
date	2005.03.15.14.42.32;	author vs;	state Exp;
branches;
next	1.13;

1.13
date	2005.02.17.15.58.21;	author vs;	state Exp;
branches;
next	1.12;

1.12
date	2004.09.18.17.32.36;	author kris;	state Exp;
branches;
next	1.11;

1.11
date	2004.03.10.13.16.50;	author vs;	state Exp;
branches;
next	1.10;

1.10
date	2004.02.04.05.21.38;	author marcus;	state Exp;
branches;
next	1.9;

1.9
date	2003.12.17.12.02.13;	author krion;	state Exp;
branches;
next	1.8;

1.8
date	2003.10.05.09.16.54;	author erwin;	state Exp;
branches;
next	1.7;

1.7
date	2003.06.22.22.09.39;	author erwin;	state Exp;
branches;
next	1.6;

1.6
date	2003.05.18.12.42.48;	author kris;	state Exp;
branches;
next	1.5;

1.5
date	2003.05.18.12.25.06;	author kris;	state Exp;
branches;
next	1.4;

1.4
date	2003.02.21.12.35.03;	author knu;	state Exp;
branches;
next	1.3;

1.3
date	2002.11.23.08.20.10;	author nork;	state Exp;
branches;
next	1.2;

1.2
date	2002.11.23.00.43.32;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2001.07.08.07.57.39;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.35
log
@Switch exporter over
@
text
@# Created by: Douglas Anestad <yotta@@dougdidit.com>
# $FreeBSD: head/lang/gprolog/Makefile 306373 2012-10-25 08:32:46Z jhale $

PORTNAME=	gprolog
PORTVERSION=	1.4.1
CATEGORIES=	lang
MASTER_SITES=	http://www.gprolog.org/

MAINTAINER=	nsmoot@@make.sh
COMMENT=	Free Prolog compiler

ONLY_FOR_ARCHS=	i386 amd64

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src

USE_GMAKE=	yes
USE_AUTOTOOLS=	autoconf
CONFIGURE_ARGS=	--with-c-flags="${CFLAGS}"
CONFIGURE_TARGET=	${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL}

PLIST_SUB+=	GPROLOG_VER=${PORTVERSION}

OPTIONS_DEFINE=	FD
OPTIONS_DEFAULT=FD
FD_DESC=	Enable finite domain constraint solver

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
PORTDOCS=	*
CONFIGURE_ARGS+=--with-doc-dir="${DOCSDIR}"
.else
CONFIGURE_ARGS+=--with-doc-dir="${WRKDIR}/docs"
.endif

.if ${PORT_OPTIONS:MEXAMPLES}
PORTEXAMPLES=	*
CONFIGURE_ARGS+=--with-examples-dir="${EXAMPLESDIR}"
.else
CONFIGURE_ARGS+=--with-examples-dir="${WRKDIR}/examples"
.endif

.if empty(PORT_OPTIONS:MFD)
CONFIGURE_ARGS+=--disable-fd-solver
PLIST_SUB+=	FD="@@comment "
PKGNAMESUFFIX=	-nofd
.else
PLIST_SUB+=	FD=""
.endif

.include <bsd.port.mk>
@


1.34
log
@SVN rev 306373 on 2012-10-25 08:32:46Z by jhale

- Update to 1.4.1
- Trim Makefile header

While here:
- Remove indefinite article from COMMENT
- Convert to new options framework

PR:		ports/172180
Submitted by:	wen@@
Approved by:	maintainer timeout (25 days)
		makc, avilla (mentors, implicit)
Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.33
log
@- Update to 1.4.0 and update maintainer address

PR:	ports/165961
Submitted by:	maintainer, nsmoot@@make.sh
Feature safe:	yes
@
text
@d1 1
a1 4
# New ports collection makefile for:   gprolog
# Date created:        30 June 2001
# Whom:                Douglas Anestad <yotta@@dougdidit.com>
#
a2 1
#
d5 1
a5 2
PORTVERSION=	1.4.0
PORTREVISION=	0
d10 1
a10 1
COMMENT=	A free Prolog compiler
d23 3
a25 1
.include <bsd.port.pre.mk>
d27 3
a29 1
.if !defined(NOPORTDOCS)
d36 1
a36 1
.if !defined(NOPORTEXAMPLES)
d43 1
a43 1
.if defined(WITHOUT_FD)
d51 1
a51 1
.include <bsd.port.post.mk>
@


1.32
log
@Sync to new bsd.autotools.mk
@
text
@d9 2
a10 2
PORTVERSION=	1.3.1
PORTREVISION=	2
d14 1
a14 1
MAINTAINER=	n.smoot@@gmail.com
@


1.31
log
@Punt autoconf267->autoconf268
@
text
@d22 1
a22 1
USE_AUTOTOOLS=	autoconf:268
@


1.30
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=	autoconf:267
@


1.29
log
@- Fix plist with NOPORTDOCS/NOPORTEXAMPLES. [1]
- Update MAINTAINER. [2]

PR:		ports/141440 [2]
Submitted by:	Nathan Smoot <n.smoot@@gmail.com> [2]
Patch by:	swell.k@@gmail.com [1]
Feature safe:	yes
@
text
@d10 1
a10 1
PORTREVISION=	1
d22 1
a22 1
USE_AUTOTOOLS=	autoconf:262
@


1.28
log
@Make it build on amd64, too, by adjusting CONFIGURE_TARGET.

PR:		141440
Submitted by:	Nathan Smoot <putwastehere@@gmail.com>
Feature safe:	yes
@
text
@d10 1
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
d23 1
a23 3
CONFIGURE_ARGS=	--with-c-flags="${CFLAGS}" \
		--with-doc-dir="${DOCSDIR}" \
		--with-examples-dir="${EXAMPLESDIR}"
d28 3
d32 4
d37 6
a42 1
.include <bsd.port.pre.mk>
@


1.27
log
@- Update to 1.3.1

PR:		143232
Submitted by:	Hung-Yi Chen <gaod@@hychen.org>
Approved by:	maintainer timeout
@
text
@d16 1
a16 1
ONLY_FOR_ARCHS=	i386
d25 1
@


1.26
log
@Reset vs@@FreeBSD.org at his request due to lack of time.
@
text
@d9 1
a9 1
PORTVERSION=	1.3.0
@


1.25
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
@d13 1
a13 1
MAINTAINER=	vs@@FreeBSD.org
@


1.24
log
@Conversion from (now defunct) autoconf-2.61 to autoconf-2.62

Tested by:	exp build run (erwin)
@
text
@a21 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.23
log
@Update to 1.3.0. It might also build on amd64 now, but I haven't been able
to run it on a tinderbox, so it stays i386 for now.
@
text
@d21 1
a21 1
USE_AUTOTOOLS=	autoconf:261
@


1.22
log
@Switch autoconf dependencies from 2.53 or 2.59 to 2.61.

PR:		ports/116639
Submitted by:	aDe
@
text
@d9 1
a9 2
PORTVERSION=	1.2.18
PORTREVISION=	3
d11 1
a11 8
MASTER_SITES=	${MASTER_SITE_DEBIAN} ftp://ftp.inria.fr/INRIA/Projects/contraintes/gprolog/:doc
MASTER_SITE_SUBDIR=	pool/main/g/${PORTNAME}
DISTFILES=	${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
.if !defined(NOPORTDOCS)
DISTFILES+=	manual.pdf.gz:doc manual-html.tar.gz:doc
.endif
DIST_SUBDIR=	gprolog
EXTRACT_ONLY=	${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
d18 1
a18 1
WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION}.orig/src/src
a19 1
USE_GCC=	2.95
d24 1
a24 1
		--with-doc-dir=none \
a40 16
post-extract:
	@@${CP} ${PORTSDIR}/Templates/config.sub ${WRKSRC}

post-patch:
	@@${REINPLACE_CMD} -e \
		's|<malloc\.h>|<stdlib.h>|g' ${WRKSRC}/EnginePl/machine.c

post-install:
.	if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	@@cd ${DOCSDIR} && ${GZIP_CMD} -cd ${_DISTDIR}/manual.pdf.gz >manual.pdf
	@@cd ${DOCSDIR} && ${TAR} zxf ${_DISTDIR}/manual-html.tar.gz
	@@${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
	@@${FIND} ${DOCSDIR}/ -type f -exec ${CHOWN} ${SHAREOWN}:${SHAREGRP} {} \;
.	endif

@


1.21
log
@Fix permissions and use PORTDOCS

PR:		ports/100962
Submitted by:	Stanislav Sedov
@
text
@d10 1
a10 1
PORTREVISION=	2
d30 1
a30 1
USE_AUTOTOOLS=	autoconf:253
@


1.20
log
@Somehow GCC 3.x generates a gprolog binary which fails immediately on startup.
Fall back to GCC 2.95 and bump PORTREVISION accordingly.
This update also brings back the FD-solver!

Maybe somebody should check what other distros do about this, but e.g. blindly
applying the Debian patch set doesn't fix this error.

Reminded by: Fernando Lpez
@
text
@d10 1
a10 1
PORTREVISION=	1
d38 2
d62 2
@


1.19
log
@Unbreak: Build w/o FD-solver on 6.x+
Currently I do not have the resources to find out why it's breaking
@
text
@d10 1
d28 1
a28 1
USE_REINPLACE=	yes
d40 1
a40 1
.if (${OSVERSION} >= 600000) || defined(WITHOUT_FD)
a47 4
.if ${OSVERSION} >= 502126
CONFIGURE_ARGS+=--disable-fast-call
.endif

@


1.18
log
@BROKEN on 6.0: Does not build
@
text
@d39 6
a44 2
.if ${OSVERSION} >= 600000
BROKEN=		"Does not build on FreeBSD >= 6.0"
@


1.17
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
@d39 4
@


1.16
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d29 1
a29 1
USE_AUTOCONF_VER=	253
@


1.15
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d30 1
a30 1
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
@


1.14
log
@Unbreak on 5.x by disabling fast-calls. Notice that you will still see
build errors if you have -march=pentium4 in your CFLAGS

PR:		ports/78794
Submitted by:	Arne Wrner
@
text
@d30 1
a30 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.13
log
@- Update to CVS snapshot 1.2.18 (tarball from Debian)
- Use PORTDOCS/EXAMPLESDIR
- We still use the pre-built docs from 1.2.16
@
text
@d40 1
a40 1
BROKEN=		"Does not compile on FreeBSD >= 5.x"
@


1.12
log
@BROKEN on 5.x: Does not compile

Approved by:    portmgr (self)
@
text
@d9 1
a9 2
PORTVERSION=	1.2.16
PORTREVISION=	2
d11 8
a18 2
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	${PORTNAME}
d25 1
a25 1
WRKSRC=		${WRKDIR}/${DISTNAME}/src
d31 3
a33 1
CONFIGURE_ARGS=	--with-c-flags="${CFLAGS}"
d43 3
d50 7
@


1.11
log
@- Update MAINTAINER-line of my ports to new @@FreeBSD.org address
- Nuke 2x USE_SIZE while here

Approved by: linimon (mentor)
@
text
@d30 6
d40 1
a40 1
.include <bsd.port.mk>
@


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

(Part 2)
@
text
@d15 1
a15 1
MAINTAINER=	stolz@@i2.informatik.rwth-aachen.de
@


1.9
log
@- Enable line-edit (works fine on -STABLE & -CURRENT)
- Bump PORTREVISION
- Grab maintainership

PR:		60323
Submitted by:	Volker Stolz <stolz@@i2.informatik.rwth-aachen.de>
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.8
log
@Per bento logs, this port won't configure except on i386.
Mark it as ignore to warn the unwary.  (There's probably
little reason to mark it as broken since it has no
maintainer.  Any volunteers?)

PR:		57594
Submitted by:	Mark Linimon <linimon@@lonesome.com>
@
text
@d10 1
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d26 1
a26 1
CONFIGURE_ARGS=	--disable-linedit --with-c-flags="${CFLAGS}"
@


1.7
log
@- Fix build
- Support CFLAGS properly
- Fix COMMENT format

PR:		53390
Submitted by:	KATO Tsuguru <tkato@@prontomail.com>
@
text
@d17 2
@


1.6
log
@Reset bouncing maintainer address
@
text
@d15 1
a15 1
COMMENT=	A free Prolog compiler developed by Daniel Diaz
d17 1
a17 1
BROKEN=		"Does not build"
d19 5
a23 3
.include <bsd.port.pre.mk>

CONFIGURE_ARGS=	--disable-linedit
d25 1
a25 1
PLIST_SUB+=	GPROLOG_VER=1.2.16
d27 3
a29 6
GNU_CONFIGURE=	yes
AUTOCONF=	autoconf
USE_AUTOCONF_VER=	253
AUTOCONF_DIR=	${LOCALBASE}/share/autoconf
WRKSRC=		${WRKDIR}/${DISTNAME}/src
USE_GMAKE=	yes
d31 1
a31 1
.include <bsd.port.post.mk>
@


1.5
log
@BROKEN: Does not build
@
text
@d14 1
a14 1
MAINTAINER=	yotta@@dougdidit.com
@


1.4
log
@De-pkg-comment.
@
text
@d17 2
@


1.3
log
@Fix problems with two files not correctly upgraded during
upgrade from 1.2.1 to 1.2.16.

PR:		ports/45615
Submitted by:	Douglas Anestad <yotta@@anestad.com> (maintainer)
@
text
@d15 1
@


1.2
log
@Maintainer update to version 1.2.16

PR:		ports/45381
Submitted by:	Douglas Anestad <yotta@@anestad.com> <yotta@@anestad.com>
@
text
@d20 2
@


1.1
log
@add gprolog
A free Prolog compiler developed by Daniel Diaz

PR:		28651
Submitted by:	Douglas Anestad <yotta@@dougdidit.com>
@
text
@d9 1
a9 1
PORTVERSION=	1.2.1
d19 5
a23 1
USE_AUTOCONF=	yes
@

