aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2005-03-04 06:40:25 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2005-03-04 06:40:25 +0000
commit4c0a0a0b6eee3a9c72549dfeda69c9a68ce124b7 (patch)
tree90b6da87cfacd92c7fad7526a86bba93650bbe31
parent66cac7211c76d9fa9f783185bff5f1b322e96cc8 (diff)
downloadports-4c0a0a0b6eee3a9c72549dfeda69c9a68ce124b7.tar.gz
ports-4c0a0a0b6eee3a9c72549dfeda69c9a68ce124b7.zip
Notes
-rw-r--r--databases/Makefile1
-rw-r--r--databases/wmjsql/Makefile45
-rw-r--r--databases/wmjsql/distinfo2
-rw-r--r--databases/wmjsql/pkg-descr5
-rw-r--r--databases/wmjsql/pkg-plist3
5 files changed, 56 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index caa4b41bd263..838d18ef9e7e 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -343,6 +343,7 @@
SUBDIR += useracc
SUBDIR += usogres
SUBDIR += wfb2sql
+ SUBDIR += wmjsql
SUBDIR += xbase
SUBDIR += xbsql
SUBDIR += xmbase-grok
diff --git a/databases/wmjsql/Makefile b/databases/wmjsql/Makefile
new file mode 100644
index 000000000000..3c56d07bc6aa
--- /dev/null
+++ b/databases/wmjsql/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: wmjSQL
+# Date created: 04 Mar 2005
+# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmjsql
+PORTVERSION= 0.5
+CATEGORIES= databases windowmaker
+MASTER_SITES= http://www.dockapps.org/download.php/id/73/ \
+ http://freebsd.nsu.ru/distfiles/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= MySQL server status displaying dockapp
+
+USE_MYSQL= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+USE_X_PREFIX= yes
+USE_XPM= yes
+
+ALL_TARGET= clean all
+
+WRKSRC= ${WRKDIR}/${PORTNAME}/src
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,^INCDIR.*$$,INCDIR = -I${PREFIX}/include/X11 \
+ -I${PREFIX}/include -I${LOCALBASE}/include,' \
+ -e 's,^LIBDIR.*$$,LIBDIR = -L${PREFIX}/lib \
+ -L${LOCALBASE}/lib/mysql,' -e '/^CC/d; /^CFLAGS/d' \
+ -e 's,-D$$(shell echo `uname -s`),,' ${WRKSRC}/Makefile \
+ ${WRKSRC}/jDockApp/Makefile ${WRKSRC}/xutils/Makefile
+ @${REINPLACE_CMD} -E 's,\.wmjsql([^r]),\.wmjsqlrc\1,' \
+ ${WRKSRC}/wmjsql.jet ${WRKSRC}/../README
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/databases/wmjsql/distinfo b/databases/wmjsql/distinfo
new file mode 100644
index 000000000000..5f17b4d58c8f
--- /dev/null
+++ b/databases/wmjsql/distinfo
@@ -0,0 +1,2 @@
+MD5 (wmjsql-0.5.tar.gz) = 63b3df4cfb5ce3a68fba89c168980995
+SIZE (wmjsql-0.5.tar.gz) = 62739
diff --git a/databases/wmjsql/pkg-descr b/databases/wmjsql/pkg-descr
new file mode 100644
index 000000000000..e52b11296a9c
--- /dev/null
+++ b/databases/wmjsql/pkg-descr
@@ -0,0 +1,5 @@
+wmjSQL is a WindowMaker dock app based on the jDockApp library written by
+Jettero Heller. It connects to a MySQL server and grabs the status
+displaying it in a handy little window.
+
+WWW: http://dockapps.org/file.php/id/42
diff --git a/databases/wmjsql/pkg-plist b/databases/wmjsql/pkg-plist
new file mode 100644
index 000000000000..f583361bf924
--- /dev/null
+++ b/databases/wmjsql/pkg-plist
@@ -0,0 +1,3 @@
+bin/wmjsql
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%