head	1.21;
access;
symbols
	RELEASE_7_4_0:1.18
	RELEASE_8_2_0:1.18
	RELEASE_6_EOL:1.17
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.12
	RELEASE_8_0_0:1.11;
locks; strict;
comment	@# @;


1.21
date	2011.11.01.05.19.47;	author dougb;	state dead;
branches;
next	1.20;

1.20
date	2011.10.09.01.48.08;	author dougb;	state Exp;
branches;
next	1.19;

1.19
date	2011.09.23.22.23.42;	author amdmi3;	state Exp;
branches;
next	1.18;

1.18
date	2010.12.04.07.32.20;	author ade;	state Exp;
branches;
next	1.17;

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

1.16
date	2010.10.05.19.57.41;	author ade;	state Exp;
branches;
next	1.15;

1.15
date	2010.09.15.18.34.37;	author ade;	state Exp;
branches;
next	1.14;

1.14
date	2010.04.03.10.44.18;	author roam;	state Exp;
branches;
next	1.13;

1.13
date	2010.03.28.06.38.53;	author dinoex;	state Exp;
branches;
next	1.12;

1.12
date	2010.02.05.11.40.14;	author dinoex;	state Exp;
branches;
next	1.11;

1.11
date	2009.08.30.07.29.30;	author erwin;	state Exp;
branches;
next	1.10;

1.10
date	2009.08.27.15.04.14;	author amdmi3;	state Exp;
branches;
next	1.9;

1.9
date	2009.08.17.15.01.34;	author acm;	state Exp;
branches;
next	1.8;

1.8
date	2009.08.13.11.51.07;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2009.08.02.23.49.42;	author acm;	state Exp;
branches;
next	1.6;

1.6
date	2009.08.02.23.20.26;	author acm;	state Exp;
branches;
next	1.5;

1.5
date	2009.07.28.06.40.17;	author acm;	state Exp;
branches;
next	1.4;

1.4
date	2009.06.02.22.45.26;	author itetcu;	state Exp;
branches;
next	1.3;

1.3
date	2009.05.21.23.57.22;	author acm;	state Exp;
branches;
next	1.2;

1.2
date	2009.05.09.02.32.57;	author acm;	state Exp;
branches;
next	1.1;

1.1
date	2009.05.09.00.53.57;	author acm;	state Exp;
branches;
next	;


desc
@@


1.21
log
@x11-toolkits/gambas2-gb-qt has been broken for over a year.

Remove it, and the ports that depend on it.
@
text
@# New ports collection makefile for:	gambas2-base
# Date created:		2009-01-16
# Whom:			Jose Alonso Cardenas Marquez <acm@@FreeBSD.org>
#
# $FreeBSD: ports/lang/gambas2-base/Makefile,v 1.20 2011/10/09 01:48:08 dougb Exp $
#

PORTNAME=	gambas2
PORTVERSION=	2.15.2
PORTREVISION=	4
CATEGORIES?=	lang kde
MASTER_SITES=	SF/${PORTNAME:S/2//g}/${PORTNAME}/${PORTVERSION}
PKGNAMESUFFIX?=	-base
DIST_SUBDIR=	${PORTNAME:S/2//g}

MAINTAINER=	acm@@FreeBSD.org
COMMENT?=	A basic language with object extensions

DEPRECATED=	Depends on x11-toolkits/gambas2-gb-qt, which is DEPRECATED
EXPIRATION_DATE=	2011-10-31

BUILD_DEPENDS=	xdg-mime:${PORTSDIR}/devel/xdg-utils
LIB_DEPENDS=	ffi.5:${PORTSDIR}/devel/libffi

USE_AUTOTOOLS=		autoconf:env automake:env
USE_BZIP2=		yes
GNU_CONFIGURE=		yes
USE_LDCONFIG=		yes
CPPFLAGS+=		-I${LOCALBASE}/include ${PTHREAD_LIBS}
LDFLAGS+=		-L${LOCALBASE}/lib
CONFIGURE_ARGS=		--disable-debug \
			--disable-optimization \
			--disable-preloading \
			--with-intl-includes=${LOCALBASE}/include \
			--with-intl-libraries=${LOCALBASE}/lib \
			--with-conv-includes=${LOCALBASE}/include \
			--with-conv-libraries=${LOCALBASE}/lib
CONFIGURE_WRKSRC?=	${WRKSRC}/main
BUILD_WRKSRC?=		${WRKSRC}/main
INSTALL_WRKSRC?=	${WRKSRC}/main

EXTRACT_AFTER_ARGS=	| ${TAR} -xf - "${DISTNAME}/acinclude.m4" "${DISTNAME}/component.am" \
			"${DISTNAME}/config.sub" "${DISTNAME}/depcomp" "${DISTNAME}/install-sh" \
			"${DISTNAME}/ltmain.sh" "${DISTNAME}/COPYING" "${DISTNAME}/config.guess" \
			"${DISTNAME}/ChangeLog" "${DISTNAME}/missing" "${DISTNAME}/main"

.include <bsd.port.pre.mk>

.if ${PKGNAMESUFFIX} == "-base"
USE_KDELIBS_VER=	3
.include <${PORTSDIR}/Mk/bsd.kde.mk>

post-patch:
	@@cd ${WRKSRC} && \
		${FIND} * -type f -name configure -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
			-e 's|-pipe -Wall -Wno-unused-value -fsigned-char|$$CFLAGS|g' \
			-e 's|-pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char|$$CXXFLAGS|g' \
			-e 's|-O0||g'
	@@cd ${WRKSRC} && \
		${FIND} -E * -type f -iregex ".*\.(c|h)" -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
			-e 's|.so.4|.so|g' -e 's|.so.3|.so|g'
	@@cd ${WRKSRC} && \
		${FIND} * -type f -name Makefile.in -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
			-e 's|(GAMBAS_VERSION) -r|(GAMBAS_VERSION) -p -r|g'
.else
.include "${MASTERDIR}/Makefile.components"
.endif

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


1.20
log
@For ports that have an EXPIRATION_DATE which has already passed, but
that have other ports that depend on them, mark the ports that depend
on them DEPRECATED, and make all EXPIRATION_DATEs 2011-10-31.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.19
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
@d19 3
@


1.18
log
@Sync to new bsd.autotools.mk
@
text
@a27 1
CONFIGURE_ENV=		CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@


1.17
log
@Punt autoconf267->autoconf268
@
text
@d22 1
a22 1
USE_AUTOTOOLS=		autoconf:268:env automake:111:env
@


1.16
log
@Round one migration of ports from automake{19,110} to automake111
@
text
@d22 1
a22 1
USE_AUTOTOOLS=		autoconf:267:env automake:111:env
@


1.15
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:env automake:19:env
@


1.14
log
@Chase the ftp/curl shlib version bump.
@
text
@d10 1
a10 1
PORTREVISION=	3
d22 1
a22 1
USE_AUTOTOOLS=		autoconf:262:env automake:19:env
@


1.13
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.12
log
@- update to jpeg-8
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.11
log
@Readd DIST_SUBDIR to fix fetching
@
text
@d10 1
@


1.10
log
@- Remove remaining SFP references (switch these ports to SF)

Approved by:	portmgr (pav)
@
text
@d13 1
@


1.9
log
@- Add missing dependencies
- Remove BROKEN on gambas2-gb-db* ports

Reported by:	pav, linimon, erwin
@
text
@d11 1
a11 1
MASTER_SITES=	SFP/${PORTNAME:S/2//g}/${PORTNAME}/${PORTVERSION}/
a12 1
DIST_SUBDIR=	${PORTNAME:S/2//g}
@


1.8
log
@- Fix fetch
@
text
@d18 1
@


1.7
log
@- Update to 2.15.2
@
text
@d11 1
a11 2
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=${PORTNAME:S/2//g}
a12 1
DISTNAME=	${PORTNAME}-${PORTVERSION}
a37 1
FETCH_ARGS=		-pRr
@


1.6
log
@- Fix fetch problems
@
text
@d9 1
a9 1
PORTVERSION=	2.15.0
@


1.5
log
@- Update to 2.15.0

See ChangeLog at: http://gambas.sourceforge.net/en/changelog2.html
@
text
@d40 1
@


1.4
log
@Proxy commit for acm@@ to fix build with custom LOCALBASE.

Reported by:	QATty
@
text
@d9 1
a9 1
PORTVERSION=	2.13.0
d31 1
@


1.3
log
@- Update to 2.13.0
- Remove obsolete patch files
- Fix build on amd64 (1). Also it could compile without problems on pointyhat.

See the ChangeLog:	http://gambas.sourceforge.net/en/changelog2.html

Tested by:	pgollucci
Reported by:	QAT (1)
@
text
@d30 5
a34 1
			--disable-optimization
@


1.2
log
@- Fix build

Reported by:	QAT
@
text
@d9 1
a9 1
PORTVERSION=	2.12
a46 1
	@@${REINPLACE_CMD} -e 37,39d ${WRKSRC}/main/share/gb_common.h
d50 2
a51 1
			-e 's|-O0||g' -e 's|-ldl||g' -e 's|-lml||g'
d54 4
a57 2
			-e 's|#ifdef __GNU_LIBRARY__|#if defined (__GNU_LIBRARY__) \|\| \
				defined (__FreeBSD__)|g' -e 's|.so.4|.so|g' -e 's|.so.3|.so|g'
@


1.1
log
@- New port: lang/gambas2-base

Gambas is a free development environment based on a Basic interpreter with
object extensions, a bit like Visual Basic (but it is NOT a clone !).

With Gambas, you can quickly design your program GUI with QT or GTK+, access
MySQL, PostgreSQL, Firebird, ODBC and SQLite databases, pilot KDE applications
with DCOP, translate your program into any language, create network applications
easily, make 3D OpenGL applications, make CGI web applications, and so on.

WWW:    http://gambas.sf.net/
@
text
@d51 1
a51 1
			-e 's|-O0||g' -e 's|-ldl||g'
@

