aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-09 02:39:44 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-09 02:39:44 +0800
commitbf4bab816858696bc43fd2c2135782cfeb1547d1 (patch)
treefd8ada96ccde03a253f60617383d230ba9ebf83e /lang
parentbfea23a1b75a6ecc491ff4a55866203f4f80ce57 (diff)
downloadfreebsd-ports-gnome-bf4bab816858696bc43fd2c2135782cfeb1547d1.tar.gz
freebsd-ports-gnome-bf4bab816858696bc43fd2c2135782cfeb1547d1.tar.zst
freebsd-ports-gnome-bf4bab816858696bc43fd2c2135782cfeb1547d1.zip
- Unbreak
- Utilize NOPORTDOCS - Fix pkg-comment format PR: 38998 Submitted by: Ports Fury
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