summaryrefslogtreecommitdiff
path: root/databases/sqsh-motif
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-22 16:23:36 +0000
committerjlam <jlam@pkgsrc.org>2008-04-22 16:23:36 +0000
commit8c191c0ed941f0ad91b6aa2d36ecca1b257a621c (patch)
tree852c06b1c2db70ee45a50372e6130606174624e1 /databases/sqsh-motif
parent2a83220728e41b5cf8da72df1dc68e710f269778 (diff)
downloadpkgsrc-8c191c0ed941f0ad91b6aa2d36ecca1b257a621c.tar.gz
Restructure the following packages:
databases/sqsh databases/sqsh-motif databases/sqsh-x11 The latter two are now just databases/sqsh built with a specific set of options. Changes include: + Add options.mk that supports three options: sqsh-motif Motif GUI sqsh-xaw Athena GUI sybase-openclient Use real Sybase Note that USE_SYBASE_OPENCLIENT is a legacy variable for the new global "sybase-openclient" option. + Remove Makefile.common and move all logic into sqsh/Makefile and sqsh/options.mk. + Remove section in patch-aa that tried to deal with termcap/curses issues for readline. That is now automatically taken care of in pkgsrc through termcap.buildlink3.mk, which is included here indirectly by readline/buildlink3.mk. + Add full DESTDIR support. + Bump the PKGREVISION for sqsh, sqsh-motif and sqsh-x11 to 5. All three packages now track and use the same PKGREVISION number.
Diffstat (limited to 'databases/sqsh-motif')
-rw-r--r--databases/sqsh-motif/Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/databases/sqsh-motif/Makefile b/databases/sqsh-motif/Makefile
index 650f6172025..ce185fbef1f 100644
--- a/databases/sqsh-motif/Makefile
+++ b/databases/sqsh-motif/Makefile
@@ -1,18 +1,12 @@
-# $NetBSD: Makefile,v 1.6 2006/02/05 23:08:37 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/04/22 16:23:36 jlam Exp $
-PKGNAME= sqsh-motif-2.1
-PKGREVISION= 4
+PKGNAME= ${PKGNAME_BASE:S/-/-motif-/}
+COMMENT= SQL shell for Sybase and MS-SQL servers (Motif GUI)
-CONFLICTS+= sqsh-[0-9]*
-CONFLICTS+= sqsh-x11-[0-9]*
+FILESDIR= ${.CURDIR}/../../databases/sqsh/files
+PATCHDIR= ${.CURDIR}/../../databases/sqsh/patches
+PKGDIR= ${.CURDIR}/../../databases/sqsh
-CONFIGURE_ARGS+= --with-motif
+PKG_OPTIONS.sqsh+= sqsh-motif -sqsh-xaw
-PATCHDIR= ${.CURDIR}/../../databases/sqsh/patches
-DISTINFO_FILE= ${.CURDIR}/../../databases/sqsh/distinfo
-PLIST_SRC= ${.CURDIR}/../../databases/sqsh/PLIST
-DESCR_SRC= ${.CURDIR}/../../databases/sqsh/DESCR
-
-.include "../../mk/motif.buildlink3.mk"
-
-.include "../../databases/sqsh/Makefile.common"
+.include "../../databases/sqsh/Makefile"