aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/moonshine/Makefile31
-rw-r--r--devel/moonshine/distinfo1
-rw-r--r--devel/moonshine/files/patch-aa71
-rw-r--r--devel/moonshine/files/patch-ab11
-rw-r--r--devel/moonshine/pkg-comment1
-rw-r--r--devel/moonshine/pkg-descr9
-rw-r--r--devel/moonshine/pkg-plist63
7 files changed, 187 insertions, 0 deletions
diff --git a/devel/moonshine/Makefile b/devel/moonshine/Makefile
new file mode 100644
index 000000000000..d76748c94ce2
--- /dev/null
+++ b/devel/moonshine/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: moonshine
+# Date created: 26 April 2000
+# Whom: Maxim Sobolev <sobomax@altavista.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= moonshine
+PORTVERSION= 1.1.3
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.suite3220.com/pub/Moonshine/1.1/src/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= sobomax@altavista.net
+
+USE_QT2= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_XLIB= yes
+GNU_CONFIGURE= yes
+CPPFLAGS+= -I${X11BASE}/include
+
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+
+pre-configure:
+ @ find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$$\{prefix\}/moonshine|\$$\{prefix\}/share/moonshine| ; \
+ s|\@INSTBIN\@|${PREFIX}/bin| ; s|moc -o|\$$\(MOC\) -o|'
+ @ ${PERL} -pi -e 's|/usr/share/moonshine|${PREFIX}/share/moonshine|' \
+ ${WRKSRC}/include/tags.h
+
+.include <bsd.port.mk>
diff --git a/devel/moonshine/distinfo b/devel/moonshine/distinfo
new file mode 100644
index 000000000000..990e480b1e72
--- /dev/null
+++ b/devel/moonshine/distinfo
@@ -0,0 +1 @@
+MD5 (moonshine-1.1.3-src.tar.gz) = 907851fc750cbc83fbbfe4bf229d4caf
diff --git a/devel/moonshine/files/patch-aa b/devel/moonshine/files/patch-aa
new file mode 100644
index 000000000000..02ea0d252f69
--- /dev/null
+++ b/devel/moonshine/files/patch-aa
@@ -0,0 +1,71 @@
+--- configure.orig Thu Apr 20 21:14:45 2000
++++ configure Wed Apr 26 14:15:52 2000
+@@ -1057,8 +1057,8 @@
+ SET_MAKE="MAKE=${MAKE-make}"
+ fi
+
+-# Extract the first word of "moc", so it can be a program name with args.
+-set dummy moc; ac_word=$2
++# Extract the first word of "moc2", so it can be a program name with args.
++set dummy moc2; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+ echo "configure:1064: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_MOC'+set}'`\" = set"; then
+@@ -1231,13 +1231,13 @@
+ do
+ echo $ac_n "checking "in $qtlib"""... $ac_c" 1>&6
+ echo "configure:1234: checking "in $qtlib"" >&5
+- if test -r "$qtlib/libqt.a"; then
+- checkversion=$(ar -t $qtlib/libqt.a qstringlist.o 2>&1)
++ if test -r "$qtlib/libqt2.a"; then
++ checkversion=$(ar -t $qtlib/libqt2.a qstringlist.o 2>&1)
+ if test "${checkversion}" = "qstringlist.o"; then
+ qt_lib_dir="$qtlib"
+ echo "$ac_t"""yes"" 1>&6
+ qt_lib_found=true
+- QTLIB="-L${qt_lib_dir} -lqt -lX11 -lXext -static"
++ QTLIB="-L${qt_lib_dir} -lqt2 -lX11 -lXext -static"
+ break
+ fi
+ fi
+@@ -1250,7 +1250,7 @@
+ fi
+ else
+ echo " Dynamic link"
+- QTLIB="-lqt"
++ QTLIB="-lqt2"
+ fi
+ echo $ac_n "checking "for qt 2.0 or newer headers"""... $ac_c" 1>&6
+ echo "configure:1257: checking "for qt 2.0 or newer headers"" >&5
+@@ -1258,15 +1258,15 @@
+ for qtinc in \
+ $qt_dir/include \
+ $QTDIR/include \
+- /usr/include/qt \
+- /usr/local/include/qt \
++ /usr/include/qt2 \
++ /usr/local/include/qt2 \
+ /usr/share/qt/include \
+- /usr/share/include/qt \
++ /usr/share/include/qt2 \
+ /usr/qt/include \
+- /usr/X11R6/include/qt \
+- /usr/include/X11/qt \
+- /usr/local/X11R6/include/qt \
+- /usr/local/X11/include/qt \
++ /usr/X11R6/include/qt2 \
++ /usr/include/X11/qt2 \
++ /usr/local/X11R6/include/qt2 \
++ /usr/local/X11/include/qt2 \
+ /usr/local/qt/include \
+ /usr/lib/qt/include \
+ /usr/share/qt/include \
+@@ -1292,7 +1292,7 @@
+ CXXFLAGS="-g"
+ echo "will compile with debug symbols"
+ else
+- CXXFLAGS="-O2"
++# CXXFLAGS="-O2"
+ echo "will compile without debug symbols"
+ fi
+ INSTBIN="${bin_inst}"
diff --git a/devel/moonshine/files/patch-ab b/devel/moonshine/files/patch-ab
new file mode 100644
index 000000000000..8cd4d163a696
--- /dev/null
+++ b/devel/moonshine/files/patch-ab
@@ -0,0 +1,11 @@
+--- docs/Makefile.in.orig Fri Apr 28 18:12:08 2000
++++ docs/Makefile.in Fri Apr 28 18:12:46 2000
+@@ -73,7 +73,7 @@
+
+ subdistdir = ${distdir}
+
+-instdir = ${prefix}/moonshine/docs
++instdir = ${prefix}/share/doc/moonshine
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+ CONFIG_CLEAN_FILES =
diff --git a/devel/moonshine/pkg-comment b/devel/moonshine/pkg-comment
new file mode 100644
index 000000000000..b994a69cc124
--- /dev/null
+++ b/devel/moonshine/pkg-comment
@@ -0,0 +1 @@
+Moonshine is a customizable IDE that supports a wide variety of languages
diff --git a/devel/moonshine/pkg-descr b/devel/moonshine/pkg-descr
new file mode 100644
index 000000000000..003f76ca770e
--- /dev/null
+++ b/devel/moonshine/pkg-descr
@@ -0,0 +1,9 @@
+Moonshine Open Source Edition is a customizable integrated software development
+enviropment that supports a wide variety of languages. It is designed in a
+modular fashion so that specific language support is not built directly into
+the application but into plug-ins or modules. The application provides a source
+tree browser, a configurable text editor, and a captured commands interface.
+The individual modules provide icons, menus, help files, context highlighting
+rules for text, and utilities specific to the module.
+
+WWW: http://www.suite3220.com/moonshine/index.html
diff --git a/devel/moonshine/pkg-plist b/devel/moonshine/pkg-plist
new file mode 100644
index 000000000000..87030e3c3be6
--- /dev/null
+++ b/devel/moonshine/pkg-plist
@@ -0,0 +1,63 @@
+bin/moonshine
+share/doc/moonshine/bugs.txt
+share/doc/moonshine/changeLog.txt
+share/doc/moonshine/ideas.txt
+share/doc/moonshine/macroLanguageSpecs.txt
+share/doc/moonshine/module.html
+share/doc/moonshine/roadmap.txt
+share/doc/moonshine/syntax.html
+share/moonshine/INSTALL
+share/moonshine/LICENCE
+share/moonshine/README
+share/moonshine/README.html
+share/moonshine/convert-module-to-0.9.7-format.sh
+share/moonshine/modules/Qt.module
+share/moonshine/modules/Qt2.module
+share/moonshine/modules/c++.module
+share/moonshine/modules/default.module
+share/moonshine/modules/pix/cvs.xpm
+share/moonshine/modules/pix/debug.xpm
+share/moonshine/modules/pix/folder-closed.xpm
+share/moonshine/modules/pix/folder-closed2.xpm
+share/moonshine/modules/pix/folder-opened.xpm
+share/moonshine/modules/pix/folder-opened2.xpm
+share/moonshine/modules/pix/header.xpm
+share/moonshine/modules/pix/header2.xpm
+share/moonshine/modules/pix/imake.xpm
+share/moonshine/modules/pix/mini-about.xpm
+share/moonshine/modules/pix/mini-brew.xpm
+share/moonshine/modules/pix/mini-delete.xpm
+share/moonshine/modules/pix/mini-edit.xpm
+share/moonshine/modules/pix/mini-emacs.xpm
+share/moonshine/modules/pix/mini-file.xpm
+share/moonshine/modules/pix/mini-folder.xpm
+share/moonshine/modules/pix/mini-gimp.xpm
+share/moonshine/modules/pix/mini-hammer.xpm
+share/moonshine/modules/pix/mini-image.xpm
+share/moonshine/modules/pix/mini-import.xpm
+share/moonshine/modules/pix/mini-new-file.xpm
+share/moonshine/modules/pix/mini-new-folder.xpm
+share/moonshine/modules/pix/mini-nscape.xpm
+share/moonshine/modules/pix/mini-plain.xpm
+share/moonshine/modules/pix/mini-ray.xpm
+share/moonshine/modules/pix/mini-rename.xpm
+share/moonshine/modules/pix/mini-web.xpm
+share/moonshine/modules/pix/mini-xv.xpm
+share/moonshine/modules/pix/printer.xpm
+share/moonshine/modules/pix/qt.xpm
+share/moonshine/modules/pix/source.xpm
+share/moonshine/modules/pix/source2.xpm
+share/moonshine/modules/pix/verticle-folder.xpm
+share/moonshine/modules/syntax/Web.syntax
+share/moonshine/modules/syntax/c++.syntax
+share/moonshine/modules/syntax/captured-commands.syntax
+share/moonshine/modules/syntax/default.syntax
+share/moonshine/modules/syntax/gcc.syntax
+share/moonshine/modules/syntax/module.syntax
+share/moonshine/modules/syntax/qt.syntax
+share/moonshine/modules/web.module
+@dirrm share/moonshine/modules/syntax
+@dirrm share/moonshine/modules/pix
+@dirrm share/moonshine/modules
+@dirrm share/moonshine
+@dirrm share/doc/moonshine