head	1.28;
access;
symbols
	RELEASE_8_3_0:1.21
	RELEASE_9_0_0:1.19
	RELEASE_7_4_0:1.14
	RELEASE_8_2_0:1.14
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.7;
locks; strict;
comment	@# @;


1.28
date	2013.03.08.21.56.28;	author svnexp;	state Exp;
branches;
next	1.27;

1.27
date	2012.12.10.19.24.02;	author svnexp;	state Exp;
branches;
next	1.26;

1.26
date	2012.11.17.05.58.55;	author svnexp;	state Exp;
branches;
next	1.25;

1.25
date	2012.09.02.12.03.45;	author johans;	state Exp;
branches;
next	1.24;

1.24
date	2012.06.28.16.12.21;	author johans;	state Exp;
branches;
next	1.23;

1.23
date	2012.06.17.21.14.36;	author johans;	state Exp;
branches;
next	1.22;

1.22
date	2012.06.14.18.58.41;	author johans;	state Exp;
branches;
next	1.21;

1.21
date	2012.02.14.12.45.21;	author mm;	state Exp;
branches;
next	1.20;

1.20
date	2011.12.18.22.58.50;	author bapt;	state Exp;
branches;
next	1.19;

1.19
date	2011.09.12.23.17.31;	author gabor;	state Exp;
branches;
next	1.18;

1.18
date	2011.07.16.05.30.32;	author linimon;	state Exp;
branches;
next	1.17;

1.17
date	2011.04.17.16.02.21;	author johans;	state Exp;
branches;
next	1.16;

1.16
date	2011.04.09.10.08.27;	author johans;	state Exp;
branches;
next	1.15;

1.15
date	2011.03.19.13.15.24;	author ale;	state Exp;
branches;
next	1.14;

1.14
date	2010.10.28.18.58.04;	author johans;	state Exp;
branches;
next	1.13;

1.13
date	2010.05.31.01.59.34;	author ade;	state Exp;
branches;
next	1.12;

1.12
date	2010.04.19.10.43.30;	author ale;	state Exp;
branches;
next	1.11;

1.11
date	2010.02.23.18.05.58;	author johans;	state Exp;
branches;
next	1.10;

1.10
date	2010.02.05.11.40.17;	author dinoex;	state Exp;
branches;
next	1.9;

1.9
date	2009.12.04.08.42.07;	author johans;	state Exp;
branches;
next	1.8;

1.8
date	2009.10.08.17.55.40;	author johans;	state Exp;
branches;
next	1.7;

1.7
date	2009.08.09.11.34.52;	author johans;	state Exp;
branches;
next	1.6;

1.6
date	2009.07.30.05.44.45;	author johans;	state Exp;
branches;
next	1.5;

1.5
date	2009.07.18.11.11.08;	author dinoex;	state Exp;
branches;
next	1.4;

1.4
date	2009.07.08.17.33.52;	author johans;	state Exp;
branches;
next	1.3;

1.3
date	2009.05.21.17.38.56;	author johans;	state Exp;
branches;
next	1.2;

1.2
date	2009.05.21.10.39.32;	author johans;	state Exp;
branches;
next	1.1;

1.1
date	2009.05.18.18.05.00;	author johans;	state Exp;
branches;
next	;


desc
@@


1.28
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313635
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/lang/pike78/Makefile 313635 2013-03-08 11:32:11Z bapt $

PORTNAME=	pike78
PORTVERSION=	7.8.700
PORTREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	http://pike.ida.liu.se/pub/pike/all/${PORTVERSION}/ \
		ftp://pike.ida.liu.se/pub/pike/beta/${PORTVERSION}/ \
		http://pike.ida.liu.se/pub/pike/beta/${PORTVERSION}/ \
		ftp://ftp.caudium.net/pike/official_releases/${PORTVERSION}/
DISTNAME=	Pike-v${PORTVERSION}

MAINTAINER=	johans@@FreeBSD.org
COMMENT=	A dynamic programming language with a syntax similar to C++

LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg \
		tiff:${PORTSDIR}/graphics/tiff \
		gdbm:${PORTSDIR}/databases/gdbm \
		pcre:${PORTSDIR}/devel/pcre \
		mird:${PORTSDIR}/databases/mird \
		gmp:${PORTSDIR}/math/gmp

CONFLICTS=	pike7[26]-[0-9]*

OPTIONS_DEFINE=	TTF FREETYPE MYSQL PGSQL
OPTIONS_DEFAULT=TTF FREETYPE MYSQL
NO_OPTIONS_SORT=yes
TTF_DESC?=	Enable FreeType 1 (libttf) font rendering engine

MAN1=		pike.1

CFLAGS+=	-ffast-math -fomit-frame-pointer

CONFIGURE_ENV=	CPPFLAGS+=${PTHREAD_CFLAGS} M4="/usr/bin/m4 -g"
CONFIGURE_ARGS+=	--without-debug \
		 --with-thread-library=${PTHREAD_LIBS} \
		 --with-double-precision \
		 --with-long-double-precision \
		 --disable-rpath \
		 --without-rtldebug \
		 --without-cdebug \
		 --without-copt \
		 --without-security \
		 --with-oob \
		 --without-poll \
		 --without-devpoll \
		 --with-max-fd=60000 \
		 --with-gmp \
		 --with-zlib \
		 --with-threads \
		 --with-readline \
		 --with-jpeg \
		 --with-tiff \
		 --with-gdbm \
		 --with-relocatable-dumped-modules \
		 --without-GL --without-GLUT \
		 --without-GTK \
		 --without-ffmpeg \
		 --without-fftw \
		 --without-glade \
		 --without-gnome \
		 --without-gssapi \
		 --without-java \
		 --without-libglade-config \
		 --without-libpdf --without-libpanda \
		 --without-machine-code \
		 --without-msql \
		 --without-odbc \
		 --without-sane \
		 --without-svg \
		 --without-sybase \
		 --prefix=${PREFIX}

MAKE_ARGS=	"CONFIGUREARGS=${CONFIGURE_ARGS}"
MAKE_ENV=	"ac_cv_lib_nettle_nettle_md5_init=no"

USE_GETTEXT=	yes
USES=		bison
USE_GMAKE=	yes

# Allow building Embedded Perl
CONFIGURE_ARGS+=	--with-perl
USE_PERL5=	YES

PLIST_FILES=	bin/pike bin/pike78 bin/hilfe

.include <bsd.port.pre.mk>

ONLY_FOR_ARCHS=	i386 amd64

.if ${OSVERSION} < 800000
BROKEN=		Does not build on FreeBSD < 8.x
.endif

.if ${PORT_OPTIONS:MTTF}
LIB_DEPENDS+=	ttf:${PORTSDIR}/print/freetype
CONFIGURE_ARGS+=	--with-ttflib
.else
CONFIGURE_ARGS+=	--without-ttflib
.endif

.if ${PORT_OPTIONS:MFREETYPE}
LIB_DEPENDS+=	freetype:${PORTSDIR}/print/freetype2
CONFIGURE_ARGS+=	--with-freetype
.else
CONFIGURE_ARGS+=	--without-freetype
.endif

.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL=	yes
CONFIGURE_ARGS+=	--with-mysql=${PREFIX}
.else
CONFIGURE_ARGS+=	--without-mysql
.endif

.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL=	yes
CONFIGURE_ARGS+=	--with-pgsql=${PREFIX}
.else
CONFIGURE_ARGS+=	--without-pgsql
.endif

pre-configure:
	@@${ECHO} ${CONFIGURE_ARGS}

post-patch:
	@@${REINPLACE_CMD} -e 's| -lgmp| -L${LOCALBASE}/lib -lgmp|' \
		${WRKSRC}/src/modules/Gmp/configure ${WRKSRC}/src/modules/_Image_XFace/configure
	@@${REINPLACE_CMD} -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|' \
		-e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \
		-e 's|,-Bshareable|& -shared|' \
		${WRKSRC}/src/configure
	@@${REINPLACE_CMD} -e '/install.*MANDIR/s|^|//|' \
		${WRKSRC}/bin/install.pike

post-install:
	${STRIP_CMD} ${PREFIX}/pike/${PORTVERSION}/bin/pike
	${INSTALL_SCRIPT} ${WRKSRC}/bin/hilfe ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/man/pike.1 ${MAN1PREFIX}/man/man1
	@@cd ${PREFIX} && ${FIND} pike/${PORTVERSION} ! -type d >> ${TMPPLIST}
	@@cd ${PREFIX} && ${FIND} pike/${PORTVERSION} -type d -empty -delete
	@@cd ${PREFIX} && ${FIND} -d pike/${PORTVERSION} -type d | \
		${SED} 's,^,@@dirrm ,' >> ${TMPPLIST}
	@@${ECHO} '@@unexec rmdir %D/pike 2>/dev/null || true' >> ${TMPPLIST}

verify:
	@@(cd ${WRKSRC}; make verify)

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


1.27
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308630
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308630 | mm | 2012-12-10 19:11:11 +0000 (Mon, 10 Dec 2012) | 4 lines
## SVN ##
## SVN ## Update PCRE to 8.32
## SVN ## Introduces the UTF-32 library pcre32
## SVN ## Bump PORTREVISION in dependent ports
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: head/lang/pike78/Makefile 308630 2012-12-10 19:11:11Z mm $
d78 1
a78 1
USE_BISON=	build
@


1.26
log
@Switch exporter over
@
text
@d1 1
a1 1
# $FreeBSD: head/lang/pike78/Makefile 303546 2012-09-02 12:03:45Z johans $
d5 1
@


1.25
log
@SVN rev 303546 on 2012-09-02 12:03:45Z by johans

- Update Pike to 7.8.700
- Reduce Makefile header
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.24
log
@Convert to new options framework
@
text
@a0 4
# New ports collection makefile for:	pike78
# Date created:		17 May 2009
# Whom:			johans@@stack.nl
#
a1 1
#
d4 1
a4 1
PORTVERSION=	7.8.686
@


1.23
log
@Mark broken on FreeBSD 7.x
@
text
@d59 1
a98 6
.ifdef(WITHOUT_RELOCATABLE_DUMPED_MODULES)
CONFIGURE_ARGS+=	--without-relocatable-dumped-modules
.else
CONFIGURE_ARGS+=	--with-relocatable-dumped-modules
.endif

@


1.22
log
@- Update Pike to 7.8.686 (beta) release
- Convert to new options style
@
text
@d94 4
@


1.21
log
@Bump pcre library dependency due to 8.30 update
@
text
@d9 1
a9 2
PORTVERSION=	7.8.352
PORTREVISION=	8
d11 1
a11 2
MASTER_SITES=	ftp://pike.ida.liu.se/pub/pike/all/${PORTVERSION}/ \
		http://pike.ida.liu.se/pub/pike/all/${PORTVERSION}/ \
d20 6
a25 6
LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg \
		tiff.4:${PORTSDIR}/graphics/tiff \
		gdbm.4:${PORTSDIR}/databases/gdbm \
		pcre.1:${PORTSDIR}/devel/pcre \
		mird.1:${PORTSDIR}/databases/mird \
		gmp.10:${PORTSDIR}/math/gmp
d29 4
a32 4
OPTIONS=	TTF "Add FreeType 1 support" on \
		FREETYPE "Add FreeType 2 support" on \
		MYSQL "Add MySQL support" on \
		POSTGRESQL "Add Postgres SQL support" off
d92 1
a92 9
ONLY_FOR_ARCHS=	i386 amd64 sparc64

.if ${OSVERSION} < 800000 && ${ARCH} == "amd64"
BROKEN=		segfaults during build
.endif

.if ${ARCH} == "sparc64"
BROKEN=		Does not link on sparc64
.endif
d100 2
a101 2
.ifdef(WITH_TTF)
LIB_DEPENDS+=	ttf.4:${PORTSDIR}/print/freetype
d107 2
a108 2
.ifdef(WITH_FREETYPE)
LIB_DEPENDS+=	freetype.9:${PORTSDIR}/print/freetype2
d114 1
a114 1
.ifdef(WITH_MYSQL)
d121 1
a121 1
.ifdef(WITH_POSTGRESQL)
@


1.20
log
@Fix build on CURRENT using m4 -g instead of m4

Approved by:	johans
@
text
@d10 1
a10 1
PORTREVISION=	7
d25 1
a25 1
		pcre.0:${PORTSDIR}/devel/pcre \
@


1.19
log
@- Track dependencies after databases/gdbm update
@
text
@d40 1
a40 1
CONFIGURE_ENV=	CPPFLAGS+=${PTHREAD_CFLAGS}
@


1.18
log
@Mark as broken on sparc64: fails to link.
@
text
@d10 1
a10 1
PORTREVISION=	6
d24 1
a24 1
		gdbm.3:${PORTSDIR}/databases/gdbm \
@


1.17
log
@Mark broken on 7.x/amd64: segmentation fault during compilation

Reported by:		pointyhat via pav
@
text
@d100 3
@


1.16
log
@- Remove Pike 7.8 dependency on the Nettle port,
  in preparation of a Nettle upgrade to an incompatible version
  use the old bundled files instead (based on Nettle 1.5)
- Bump PORTREVISION
- While here, remove MD5 checksum

PR:		ports/156173
Submitted by:	Hirohisa Yamaguchi <umq@@ueo.co.jp>
@
text
@d96 5
@


1.15
log
@Bump PORTREVISION for ports linking to default libmysqlclient.
@
text
@d10 1
a10 1
PORTREVISION=	5
a25 1
		nettle.3:${PORTSDIR}/security/nettle \
d80 1
@


1.14
log
@Pike 7.8 works fine on sparc64

PR:		ports/151795
Submitted by:	gahr
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.13
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d94 1
a94 1
ONLY_FOR_ARCHS=	i386 amd64
@


1.12
log
@Switch to use newer GMP version.

PR:		ports/144487
Submitted by:	ale
Approved by:	portmgr (-exp run by erwin)
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.11
log
@Update my mail address to @@FreeBSD.org

Feature safe:   yes
@
text
@d10 1
a10 1
PORTREVISION=	2
d28 1
a28 1
		gmp.8:${PORTSDIR}/math/libgmp4
@


1.10
log
@- update to jpeg-8
@
text
@d19 1
a19 1
MAINTAINER=	johans@@stack.nl
@


1.9
log
@- Unbreak on 8.x (fix plist)
- Chase libnettle update
- Introduce dynamic plist (this also allows more OPTIONS with the next update)
@
text
@d10 1
a10 1
PORTREVISION=	1
d22 1
a22 1
LIB_DEPENDS=	jpeg.10:${PORTSDIR}/graphics/jpeg \
@


1.8
log
@Update to 7.8.352
@
text
@d10 1
d26 1
a26 1
		nettle.2:${PORTSDIR}/security/nettle \
d90 2
a94 5
PLIST_SUB+=	PORTVERSION=${PORTVERSION}

.if ${OSVERSION} >= 800000
BROKEN=		Incorrect pkg-plist
.endif
d147 5
@


1.7
log
@- Register CONFLICTS for lang/pike* ports (binaries + manuals in same place)

PR:		ports/137568
Submitted by:	Piotr Smyrak
@
text
@d9 1
a9 2
PORTVERSION=	7.8.316
PORTREVISION=	1
@


1.6
log
@Mark broken on FreeBSD-8

Reported by:	pointyhat via pav
@
text
@d30 2
@


1.5
log
@- update to jpeg7
Tested by:	pav on pointyhat
@
text
@d93 4
@


1.4
log
@Update to pike 7.8.316
@
text
@d10 1
d22 1
a22 1
LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
@


1.3
log
@Tell pike how to build and install shared module libs on amd64
@
text
@d9 1
a9 2
PORTVERSION=	7.8.116
PORTREVISION=	1
@


1.2
log
@Disable problematic gssapi module
@
text
@d10 1
a73 1
		 --without-ssleay \
d134 2
a135 2
		${WRKSRC}/src/configure
	@@${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \
@


1.1
log
@Pike is an interpreted, object-oriented programming language.
It looks a bit like C and C++, but it is much easier to learn and use.
It can be used for small scripts as well as for large programs.

 A lot of inspiration for this port came from the Pike 7.6 port.
 Some optional pike modules are not yet included; will follow soon.
@
text
@d65 1
@

