From df2c74fbaad391ca608d2714b37e7b4ffcb0524e Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sat, 8 Jun 2002 18:39:44 +0000 Subject: - Unbreak - Utilize NOPORTDOCS - Fix pkg-comment format PR: 38998 Submitted by: Ports Fury --- lang/wxbasic/Makefile | 13 ++++++++++--- lang/wxbasic/files/patch-makefile.unx | 2 +- lang/wxbasic/pkg-comment | 2 +- lang/wxbasic/pkg-plist | 11 +++++++++++ 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 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 -- cgit v1.2.3