head	1.8;
access;
symbols
	RELEASE_5_1_0:1.7
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.3;
locks; strict;
comment	@# @;


1.8
date	2003.08.08.03.53.34;	author kris;	state dead;
branches;
next	1.7;

1.7
date	2003.05.07.00.06.33;	author kris;	state Exp;
branches;
next	1.6;

1.6
date	2003.02.20.18.38.02;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2002.11.10.16.46.54;	author lioux;	state Exp;
branches;
next	1.4;

1.4
date	2002.11.06.22.45.53;	author adamw;	state Exp;
branches;
next	1.3;

1.3
date	2002.06.21.16.20.23;	author ijliao;	state Exp;
branches;
next	1.2;

1.2
date	2002.06.08.18.39.43;	author ijliao;	state Exp;
branches;
next	1.1;

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


desc
@@


1.8
log
@As announced on May 6, remove the broken lang/wxbasic port.
@
text
@# ex:ts=8
# Ports collection makefile for:	wxbasic
# Date created:			Feb 10, 2002
# Whom:				ijliao
#
# $FreeBSD: ports/lang/wxbasic/Makefile,v 1.7 2003/05/07 00:06:33 kris Exp $
#

PORTNAME=	wxbasic
PORTVERSION=	0.52
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	wxsource-${PORTVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A cross-platform GUI Basic interpreter

BROKEN=		"Does not compile"

LIB_DEPENDS=	wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel

NO_WRKSUBDIR=	yes

USE_REINPLACE=	yes
USE_BISON=	yes
USE_GMAKE=	yes
MAKEFILE=	makefile.unx
CFLAGS+=	${PTHREAD_CFLAGS}
LIBS+=		-lglut -lGL -lGLU -lwx_gtk_gl ${PTHREAD_LIBS}
MAKE_ENV=	CXXFLAGS="${CXXFLAGS}" LIBS="${LIBS}"

post-patch:
	@@${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/core.c

pre-build:
	@@(cd ${WRKSRC} ; \
	  ${MV} -f wxbasic.y tmp ; ${CAT} tmp | col -b > wxbasic.y ; \
	  bison -o y_tab.c wxbasic.y)

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/wxbasic ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
	@@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/*.wx ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>
@


1.7
log
@BROKEN: Does not compile
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.6
log
@De-pkg-comment.
@
text
@d19 2
@


1.5
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d17 1
@


1.4
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a17 2
PORTCOMMENT=	A cross-platform GUI Basic interpreter

@


1.3
log
@Replace ${PERL} with ${REINPLACE_CMD}

PR:		39605
Submitted by:	Oliver Braun <obraun@@informatik.unibw-muenchen.de>
@
text
@d18 2
@


1.2
log
@- Unbreak
- Utilize NOPORTDOCS
- Fix pkg-comment format

PR:		38998
Submitted by:	Ports Fury
@
text
@d22 1
d31 1
a31 1
	@@${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/core.c
@


1.1
log
@add wxbasic 0.52
wxBasic Programming Language
@
text
@d18 1
a18 1
LIB_DEPENDS=	wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk
a19 1
USE_MESA=	yes
d21 3
a24 1
USE_GMAKE=	yes
d39 6
@

