aboutsummaryrefslogtreecommitdiffstats
path: root/databases/wmjsql
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-03-04 14:40:25 +0800
committerdanfe <danfe@FreeBSD.org>2005-03-04 14:40:25 +0800
commitc65587a3cbba455227d4d00fb9e5353ad24306b2 (patch)
tree1d30ccc8bbd84aef1691ff02f74957d3d2db8f32 /databases/wmjsql
parent0a3310f1d06860a08c865e7de1eac6901dd309d4 (diff)
downloadfreebsd-ports-graphics-c65587a3cbba455227d4d00fb9e5353ad24306b2.tar.gz
freebsd-ports-graphics-c65587a3cbba455227d4d00fb9e5353ad24306b2.tar.zst
freebsd-ports-graphics-c65587a3cbba455227d4d00fb9e5353ad24306b2.zip
Add wmjsql, a WindowMaker dockapp that connects to a MySQL server and grabs
the status displaying it in a handy little window.
Diffstat (limited to 'databases/wmjsql')
-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
4 files changed, 55 insertions, 0 deletions
diff --git a/databases/wmjsql/Makefile b/databases/wmjsql/Makefile
new file mode 100644
index 00000000000..3c56d07bc6a
--- /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 00000000000..5f17b4d58c8
--- /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 00000000000..e52b11296a9
--- /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 00000000000..f583361bf92
--- /dev/null
+++ b/databases/wmjsql/pkg-plist
@@ -0,0 +1,3 @@
+bin/wmjsql
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%