summaryrefslogtreecommitdiff
path: root/databases/sqsh-motif
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-12-30 13:33:44 +0000
committerwiz <wiz@pkgsrc.org>2016-12-30 13:33:44 +0000
commit357a8f2abfc1aa7ce08213a1e38fe32d95efd6b2 (patch)
tree2f8a66ce0d51d57aaaa6e9ad66cc2d408d7b2ad3 /databases/sqsh-motif
parent0d7b9bc544fe247a70611165274291fa3b94bd8e (diff)
downloadpkgsrc-357a8f2abfc1aa7ce08213a1e38fe32d95efd6b2.tar.gz
Fix options framework abuse by sqsh*.
Diffstat (limited to 'databases/sqsh-motif')
-rw-r--r--databases/sqsh-motif/DESCR12
-rw-r--r--databases/sqsh-motif/Makefile20
2 files changed, 22 insertions, 10 deletions
diff --git a/databases/sqsh-motif/DESCR b/databases/sqsh-motif/DESCR
new file mode 100644
index 00000000000..fbaf263b807
--- /dev/null
+++ b/databases/sqsh-motif/DESCR
@@ -0,0 +1,12 @@
+Sqsh (pronounced skwish) is short for SQshelL (pronounced s-q-shell), it
+is intended as a replacement for the venerable 'isql' program supplied
+by Sybase. It came about due to years of frustration of trying to do
+real work with a program that was never meant to perform real work.
+
+Sqsh is much more than a nice prompt, it is intended to provide much of
+the functionality provided by a good shell, such as variables,
+redirection, pipes, back-grounding, job control, history, command
+completion, and dynamic configuration. Also, as a by-product of the
+design, it is remarkably easy to extend and add functionality.
+
+This package uses the Motif frontend.
diff --git a/databases/sqsh-motif/Makefile b/databases/sqsh-motif/Makefile
index d8bc00ae0c6..6c3e78a5d1f 100644
--- a/databases/sqsh-motif/Makefile
+++ b/databases/sqsh-motif/Makefile
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.10 2012/10/02 21:25:54 asau Exp $
+# $NetBSD: Makefile,v 1.11 2016/12/30 13:33:45 wiz Exp $
-PKGNAME= ${PKGNAME_BASE:S/-/-motif-/}
+PKGNAME= sqsh-motif-${VERSION}
COMMENT= SQL shell for Sybase and MS-SQL servers (Motif GUI)
-FILESDIR= ${.CURDIR}/../../databases/sqsh/files
-PATCHDIR= ${.CURDIR}/../../databases/sqsh/patches
-PKGDIR= ${.CURDIR}/../../databases/sqsh
+CONFIGURE_ARGS+= --with-motif=${MOTIFBASE:Q}
-.include "../../mk/bsd.prefs.mk"
-
-PKG_OPTIONS.sqsh+= sqsh-motif -sqsh-xaw
-
-.include "../../databases/sqsh/Makefile"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXmu/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../mk/motif.buildlink3.mk"
+.include "../../databases/sqsh/Makefile.common"
+.include "../../mk/bsd.pkg.mk"