summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-08 18:39:44 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-08 18:39:44 +0000
commitdf2c74fbaad391ca608d2714b37e7b4ffcb0524e (patch)
treed0daff70551d7f569a987173ce5e81934edf7dfd /lang
parent- GNU_CONFIGURE -> USE_LIBTOOL (diff)
- Unbreak
- Utilize NOPORTDOCS - Fix pkg-comment format PR: 38998 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=60890
Diffstat (limited to 'lang')
-rw-r--r--lang/wxbasic/Makefile13
-rw-r--r--lang/wxbasic/files/patch-makefile.unx2
-rw-r--r--lang/wxbasic/pkg-comment2
-rw-r--r--lang/wxbasic/pkg-plist11
4 files changed, 23 insertions, 5 deletions
diff --git a/lang/wxbasic/Makefile b/lang/wxbasic/Makefile
index b6a2608fb5d8..4d2174da1272 100644
--- a/lang/wxbasic/Makefile
+++ b/lang/wxbasic/Makefile
@@ -15,12 +15,13 @@ DISTNAME= wxsource-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk
+LIB_DEPENDS= wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel
-USE_MESA= yes
NO_WRKSUBDIR= yes
-MAKEFILE= makefile.unx
+
+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}"
@@ -35,5 +36,11 @@ pre-build:
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>
diff --git a/lang/wxbasic/files/patch-makefile.unx b/lang/wxbasic/files/patch-makefile.unx
index 507c11140fa5..9ea1246f0643 100644
--- a/lang/wxbasic/files/patch-makefile.unx
+++ b/lang/wxbasic/files/patch-makefile.unx
@@ -5,7 +5,7 @@
.cpp.o :
- $(CXX) -c `wx-config --cxxflags` -o $@ $<
-+ $(CXX) ${CFLAGS} -c `wx-config --cxxflags` -o $@ $<
++ $(CXX) ${CXXFLAGS} -c `wx-config --cxxflags` -o $@ $<
all: $(PROGRAM)
diff --git a/lang/wxbasic/pkg-comment b/lang/wxbasic/pkg-comment
index 6c249f03aed8..9c5d067b9aa4 100644
--- a/lang/wxbasic/pkg-comment
+++ b/lang/wxbasic/pkg-comment
@@ -1 +1 @@
-wxBasic Programming Language
+A cross-platform GUI Basic interpreter
diff --git a/lang/wxbasic/pkg-plist b/lang/wxbasic/pkg-plist
index 63d7dcad65fb..8fbde66300be 100644
--- a/lang/wxbasic/pkg-plist
+++ b/lang/wxbasic/pkg-plist
@@ -1 +1,12 @@
bin/wxbasic
+%%PORTDOCS%%share/doc/wxbasic/readme.txt
+%%PORTDOCS%%share/examples/wxbasic/bind.wx
+%%PORTDOCS%%share/examples/wxbasic/controls.wx
+%%PORTDOCS%%share/examples/wxbasic/demo.wx
+%%PORTDOCS%%share/examples/wxbasic/editor.wx
+%%PORTDOCS%%share/examples/wxbasic/glbox.wx
+%%PORTDOCS%%share/examples/wxbasic/minimal.wx
+%%PORTDOCS%%share/examples/wxbasic/scribble.wx
+%%PORTDOCS%%share/examples/wxbasic/shroud.wx
+%%PORTDOCS%%@dirrm share/examples/wxbasic
+%%PORTDOCS%%@dirrm share/doc/wxbasic