NEW: misc/wordnet

2007-09-11 Thread Stuart Henderson
from a request on undeadly; I put this in CATEGORY=misc but am
open to suggestions... working nicely for me on amd64, sparc64.

comments, ok?

WordNet is a large lexical database of English, developed under the
direction of George A. Miller. Nouns, verbs, adjectives and adverbs
are grouped into sets of cognitive synonyms (synsets), each expressing
a distinct concept. Synsets are interlinked by means of conceptual-semantic
and lexical relations. The resulting network of meaningfully related
words and concepts can be navigated with the browser. WordNet is
also freely and publicly available for download. WordNet's structure
makes it a useful tool for computational linguistics and natural
language processing.



wordnet.tgz
Description: application/tar-gz


Re: NEW: misc/wordnet

2007-09-11 Thread Mike Erdely
On Tue, Sep 11, 2007 at 12:05:56PM +0100, Stuart Henderson wrote:
 from a request on undeadly; I put this in CATEGORY=misc but am
 open to suggestions... working nicely for me on amd64, sparc64.
 
 comments, ok?

Tested on i386 and macppc.
I'd add NO_REGRESS=Yes

-ME



Re: [NEW] x11/qwt-5.0.2

2007-09-11 Thread Mike Erdely
On Wed, Sep 05, 2007 at 03:48:23AM -0400, Mike Erdely wrote:
 Attached is a port for qwt-5.0.2.
 
 $ cat /usr/ports/x11/qwt/pkg/DESCR
   The Qwt library contains GUI Components and utility classes which
   are primarily useful for programs with a technical background. Beside
   a 2D plot widget it provides scales, sliders, dials, compasses,
   thermometers, wheels and knobs to control or display values, arrays,
   or ranges of type double.
 
 This port is a dependency of the new BAT (Bacula Administration Tool)
 component to Bacula 2.2.x.
 
 Please review, test and comment.

Another version with qwt sample source for testing in
${PREFIX}/examples/qwt and SHARED_LIBS done right (thanks steven@).

Please review, test and comment.
Tested on i386 and macppc.

-ME


qwt.tar.gz
Description: application/tar-gz


[Update] bacula-2.2.3

2007-09-11 Thread Mike Erdely
Attached is a diff to update bacula to 2.2.3.  Included with 2.2.x is a
new qt/qtw-based GUI admin tools called bat.

This update requires the qwt port I submitted already.

Please review, test  comment.

-ME

Index: Makefile
===
RCS file: /cvs/ports/sysutils/bacula/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile5 Sep 2007 07:57:33 -   1.5
+++ Makefile12 Sep 2007 03:12:11 -
@@ -2,13 +2,15 @@
 
 COMMENT-main=  network backup solution
 COMMENT-client=network backup solution (client)
+COMMENT-bat=   network backup solution (gui-client)
 COMMENT-server=network backup solution (server)
 
-VERSION=   2.0.3
+VERSION=   2.2.3
 DISTNAME=  bacula-${VERSION}
-PKGNAME-main=  ${DISTNAME}p0
-FULLPKGNAME-client=bacula-client-${VERSION}p2
-PKGNAME-server=bacula-server-${VERSION}p1
+PKGNAME-main=  ${DISTNAME}
+FULLPKGNAME-client=bacula-client-${VERSION}
+FULLPKGNAME-bat=   bacula-bat-${VERSION}
+PKGNAME-server=bacula-server-${VERSION}
 CATEGORIES=sysutils
 
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=bacula/}
@@ -20,8 +22,14 @@ MAINTAINER=  Michael Erdely [EMAIL PROTECTED]
 WANTLIB=   c pthread crypto ssl z m stdc++
 WANTLIB-server=${WANTLIB} readline termcap
 WANTLIB-main=  ${WANTLIB} readline termcap
+WANTLIB-main+= ICE QtCore QtGui SM X11 Xcursor Xext Xfixes Xi Xinerama
+WANTLIB-main+= Xrandr Xrender fontconfig freetype glib-2.0 gthread-2.0
+WANTLIB-main+= iconv intl png
+WANTLIB-bat=   ${WANTLIB} ICE QtCore QtGui SM X11 Xcursor Xext Xfixes
+WANTLIB-bat+=  Xi Xinerama Xrandr Xrender fontconfig freetype glib-2.0
+WANTLIB-bat+=  gthread-2.0 iconv intl png
 
-MULTI_PACKAGES=-main -client -server
+MULTI_PACKAGES=-main -client -bat -server
 
 # Modified GPLv2
 # http://bacula.org/dev-manual/Bacula_Copyri_Tradem_Licens.html
@@ -55,18 +63,21 @@ CONFIGURE_ARGS= --enable-smartalloc \
--with-dir-group=_bacula \
--with-sd-user=root \
--with-sd-group=wheel \
+   --with-sbin-perm=755 \
--without-x \
--without-tcp-wrappers \
--without-smtp-host \
--without-job-email \
--without-dump-email \
--disable-gnome \
-   --disable-wx-console \
+   --disable-bwx-console \
--disable-tray-monitor \
--disable-nls \
--disable-conio \
--enable-readline \
-   --with-openssl
+   --with-openssl \
+   --enable-bat \
+   --with-qwt=${LOCALBASE}
 
 CONFIGURE_ENV+=CPPFLAGS=-I/usr/include/readline \
-I${LOCALBASE}/include \
@@ -75,7 +86,8 @@ CONFIGURE_ENV+=   CPPFLAGS=-I/usr/includ
PTHREAD_LIBS=${PTHREAD_LIBS} \
MTX=/bin/chio \
TAPEDRIVE=/dev/rst0 \
-   CONFIG_SITE=${PORTSDIR}/infrastructure/db/config.site
+   CONFIG_SITE=${PORTSDIR}/infrastructure/db/config.site \
+   
PKG_CONFIG_LIBDIR=${LOCALBASE}/lib/qt4/pkgconfig:${LOCALBASE}/lib/qt4
 
 BACKEND=
 .if ${FLAVOR:L:Mpgsql}
@@ -99,7 +111,8 @@ ERRORS+= Fatal: choose either pgsql or
 CONFIGURE_ARGS+=   --without-postgresql \
--with-mysql \
--without-sqlite \
-   --without-sqlite3
+   --without-sqlite3 \
+   --enable-batch-insert
 LIB_DEPENDS+=  lib/mysql/mysqlclient.=10::databases/mysql
 BACKEND=   mysql
 .else
@@ -140,13 +153,20 @@ ERRORS+=  Fatal: choose either pgsql or
 .endif
 
 LIB_DEPENDS-client=
+LIB_DEPENDS-bat=   qwt.=5::x11/qwt
+RUN_DEPENDS-bat=   ${LIB_DEPENDS-bat}
+LIB_DEPENDS-main+= ${LIB_DEPENDS} ${LIB_DEPENDS-bat}
+RUN_DEPENDS-main+= ${LIB_DEPENDS-bat}
+
 
 post-install:
+   ${INSTALL_PROGRAM} ${WRKSRC}/src/qt-console/bat ${PREFIX}/sbin/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bacula
${INSTALL_DATA} ${WRKINST}/etc/bacula/bacula-dir.conf \
${WRKINST}/etc/bacula/bacula-fd.conf \
${WRKINST}/etc/bacula/bacula-sd.conf \
${WRKINST}/etc/bacula/bconsole.conf \
+   ${WRKINST}/etc/bacula/bat.conf \
${PREFIX}/share/examples/bacula/
 
 .include bsd.port.mk
Index: distinfo

Re: Comments? ap2 flavor for www/mod_fastcgi

2007-09-11 Thread Roland Philippsen
Mike Erdely wrote:
 On Sun, Sep 09, 2007 at 12:57:30PM -0700, Roland Philippsen wrote:
 here's a suggestion for adding an Apache2-flavor to www/mod_fastcgi.
 The patch (created with git) is best applied using 'patch -p2' from
 within the mod_fastcgi directory. The unflavored build is identical to
 what's in CVS right now, specifying FLAVOR=ap2 builds it for
 www/apache-httpd.

...

 I tested this on macppc and i386.  Works as expected.
 
 I made a couple tweaks and used cvs diff (below).
  - I removed your flavored_ PKGNAME prefix.
  - I added @comment share/.../mod_fastcgi.html.orig to PFRAG.ap2 so
update-plist doesn't change any files.
 
 Any comments for the below diff?

Thanks! Works swell here (amd64).

One (general) question: what are the recommendations regarding the use
of quotes in COMMENT? I've seen patches that remove those, and some
ports obviously still have them...

Greetings,
Roland