head	1.13;
access;
symbols
	RELEASE_8_3_0:1.6
	RELEASE_9_0_0:1.2;
locks; strict;
comment	@# @;


1.13
date	2013.01.22.02.45.01;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2013.01.10.17.44.00;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2012.11.17.05.58.55;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2012.10.10.21.02.04;	author madpilot;	state Exp;
branches;
next	1.9;

1.9
date	2012.06.06.22.04.55;	author sylvio;	state Exp;
branches;
next	1.8;

1.8
date	2012.05.23.23.57.22;	author wen;	state Exp;
branches;
next	1.7;

1.7
date	2012.05.01.20.11.18;	author dhn;	state Exp;
branches;
next	1.6;

1.6
date	2012.03.22.13.18.26;	author zi;	state Exp;
branches;
next	1.5;

1.5
date	2012.01.26.20.12.37;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2012.01.26.11.18.50;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2012.01.20.20.12.38;	author brooks;	state Exp;
branches;
next	1.2;

1.2
date	2011.04.09.19.21.47;	author makc;	state Exp;
branches;
next	1.1;

1.1
date	2011.03.21.06.14.38;	author wen;	state Exp;
branches;
next	;


desc
@@


1.13
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310792
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	pure
# Date created:		2011-03-17
# Whom:			Zhihao Yuan <lichray@@gmail.com>
#
# $FreeBSD: head/lang/pure/Makefile 310792 2013-01-22 02:05:58Z brooks $
#

PORTNAME=	pure
PORTVERSION=	0.55
CATEGORIES=	lang
DISTFILES=	${PORTNAME}-${PORTVERSION}.tar.gz ${PORTNAME}-docs-${PORTVERSION}.tar.gz

MAINTAINER=	lichray@@gmail.com
COMMENT=	A modern-style functional programming language

LICENSE=	GPLv3 LGPL3
LICENSE_COMB=	dual

LIB_DEPENDS=	gmp:${PORTSDIR}/math/gmp \
		mpfr:${PORTSDIR}/math/mpfr
BUILD_DEPENDS=	llvm31>=3.1:${PORTSDIR}/devel/llvm31
RUN_DEPENDS=	llvm31>=3.1:${PORTSDIR}/devel/llvm31

MAN1=		pure.1
SUB_FILES=	pkg-message

USE_AUTOTOOLS=	libltdl
GNU_CONFIGURE=	yes
USE_GNOME=	gnomehack pkgconfig
USE_PURE=	yes
USE_LDCONFIG=	yes
MAKE_JOBS_SAFE=	yes

CONFIGURE_ARGS=	--with-libgmp-prefix=${LOCALBASE} --enable-release

OPTIONS_DEFINE=	EMACS

EMACS_DESC=	Compile pure-mode.el with Emacs

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MEMACS}
USE_EMACS=	yes
MAKE_ARGS+=	emacs_prefix=${PREFIX}
PLIST_SUB+=	ELC=""
.else
CONFIGURE_ARGS+=	--without-elisp
PLIST_SUB+=	ELC="@@comment "
.endif

# automatically disable readline support if editline support is available
.if exists(/usr/include/edit/readline/readline.h)
CONFIGURE_ARGS+=	--without-readline
.endif

.if ${ARCH} == "amd64"
CONFIGURE_TARGET=	x86_64-portbld-freebsd
.endif

PORTDATA=	*
PORTEXAMPLES=	*
PORTDOCS=	*

.if !defined(NOPORTDATA)
SUB_LIST+=	ETC=""
.else
SUB_LIST+=	ETC="@@comment "
.endif

.if !defined(NOPORTDOCS)
PLIST_SUB+=	DOCS=""
.else
PLIST_SUB+=	DOCS="@@comment "
.endif

.if ${OSVERSION} < 900014
SUB_LIST+=	NOCLANG=""
.else
SUB_LIST+=	NOCLANG="@@comment "
.endif

.include <bsd.port.pre.mk>

post-install:
.if !defined(NOPORTDATA)
	@@${MKDIR} ${DATADIR}/etc/
	(cd ${WRKSRC} && ${RM} -f etc/*.in && ${COPYTREE_SHARE} etc/ ${DATADIR}/)
.endif

.if !defined(NOPORTEXAMPLES)
	@@${MKDIR} ${EXAMPLESDIR}
	(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif

.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	(cd ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION} && ${RM} -f Makefile && ${COPYTREE_SHARE} \* ${DOCSDIR})
	${LN} -fs ${DOCSDIR} ${PREFIX}/lib/${PORTNAME}/docs
.endif

	@@${CAT} ${PKGMESSAGE}

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


1.12
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310188
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310188 | brooks | 2013-01-10 16:30:53 +0000 (Thu, 10 Jan 2013) | 3 lines
## SVN ##
## SVN ## Depend on llvm31/clang31 ports to avoid breakage when I update
## SVN ## llvm/clang to 3.2.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
# $FreeBSD: head/lang/pure/Makefile 310188 2013-01-10 16:30:53Z brooks $
d21 2
a22 2
BUILD_DEPENDS=	llvm31>=3.1:${PORTSDIR}/devel/llvm
RUN_DEPENDS=	llvm31>=3.1:${PORTSDIR}/devel/llvm
@


1.11
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/lang/pure/Makefile 305683 2012-10-10 21:02:04Z madpilot $
d21 2
a22 2
BUILD_DEPENDS=	llvm>=2.9:${PORTSDIR}/devel/llvm
RUN_DEPENDS=	llvm>=2.9:${PORTSDIR}/devel/llvm
@


1.10
log
@SVN rev 305683 on 2012-10-10 21:02:04Z by madpilot

- Remove double quotes from *_DESC

Requested by:	Zhihao Yuan <lichray@@gmail.com> (maintainer, via email)
Noticed by:	Riccardo Torrini <riccardo@@torrini.org>

Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.9
log
@- Update to 0.55

PR:		ports/168686
Submitted by:	Zhihao Yuan <lichray@@gmail.com> (maintainer)
@
text
@d38 1
a38 1
EMACS_DESC=	"Compile pure-mode.el with Emacs"
@


1.8
log
@- Update to 0.5.4

PR:		168172
Submitted by:	Zhihao Yuan <lichray@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.54
d16 2
a17 1
LICENSE=	LGPL3
d19 2
a20 2
LIB_DEPENDS=	gmp.10:${PORTSDIR}/math/gmp \
		mpfr.4:${PORTSDIR}/math/mpfr
d36 3
a38 1
OPTIONS=	EMACS "Compile pure-mode.el with Emacs" off
d42 1
a42 1
.if defined(WITH_EMACS)
d76 6
@


1.7
log
@- Update to 0.53

PR:		ports/167414
Submitted by:	Zhihao Yuan <lichray@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.53
@


1.6
log
@- Update to 0.52
- Prefer editline support, if available

PR:		ports/165864
Submitted by:	Zhihao Yuan <lichray@@gmail.com> (maintainer)
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	0.52
@


1.5
log
@- Provide pkgconfig and ldconfig for potential consumers
- Drop USE_GCC line from bsd.pure.mk, downstream ports need to be able to
  override USE_GCC value
@
text
@d9 1
a9 2
PORTVERSION=	0.51
PORTREVISION=	1
d48 5
@


1.4
log
@- Update pure to 0.51 and update modules

PR:		ports/161799
Submitted by:	Zhihao Yuan <lichray@@gmail.com> (maintainer)
@
text
@d10 1
d29 1
a29 1
USE_GNOME=	gnomehack
d31 1
@


1.3
log
@Switch to devel/llvm29 as a build/run depend to devel/llvm can be
upgraded.

Approved by:    lichray@@gmail.com (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.47
PORTREVISION=	1
a10 1
MASTER_SITES=	http://pure-lang.googlecode.com/files/
d16 6
a21 3
LIB_DEPENDS+=	gmp:${PORTSDIR}/math/gmp
BUILD_DEPENDS+=	llvm29>=2.9<2.10.*:${PORTSDIR}/devel/llvm29
RUN_DEPENDS+=	llvm29>=2.9<2.10.*:${PORTSDIR}/devel/llvm29
a23 1
LICENSE=	LGPL3
a25 1
USE_GCC=	4.2+
a27 1
USE_GMAKE=	yes
d29 1
d88 1
@


1.2
log
@Update to 0.47
Remove patch integrated upstream

PR:		ports/156099
Submitted by:	Zhihao Yuan (maintainer)
@
text
@d10 1
d19 2
a20 2
BUILD_DEPENDS+=	llvm>=2.6:${PORTSDIR}/devel/llvm
RUN_DEPENDS+=	llvm>=2.6:${PORTSDIR}/devel/llvm
@


1.1
log
@Pure is a modern-style functional programming language based on term
rewriting. It offers equational definitions with pattern matching, full
symbolic rewriting capabilities, dynamic typing, eager and lazy evaluation,
lexical closures, built-in list and matrix support and an easy-to-use C
interface. The interpreter uses LLVM as a backend to JIT-compile Pure
programs to fast native code.

WWW:    https://code.google.com/p/pure-lang/

PR:		ports/155647
Submitted by:	Zhihao Yuan <lichray@@gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	0.46
d26 1
a26 1
USE_AUTOTOOLS=	libtool
d29 1
d34 2
d38 9
d72 1
a72 1
	(cd ${WRKSRC} && ${COPYTREE_SHARE} etc/ ${DATADIR}/)
@

