summaryrefslogtreecommitdiff
path: root/databases/mysql-client/Makefile
diff options
context:
space:
mode:
authortv <tv>1999-05-06 23:22:27 +0000
committertv <tv>1999-05-06 23:22:27 +0000
commit7951d8acc5ff17dc73069486022bde8858d42bdf (patch)
treea02ddbb07a813525bf4436f0e62b726d04ae9569 /databases/mysql-client/Makefile
parentc18873ab24db728b17f65cd22c4c5b138a389667 (diff)
downloadpkgsrc-7951d8acc5ff17dc73069486022bde8858d42bdf.tar.gz
One half of a client/server-split version of the mysql pkg. This part
(client) works on all architectures. Updated to 3.22.22 and adapted to use libedit on 1.4 systems.
Diffstat (limited to 'databases/mysql-client/Makefile')
-rw-r--r--databases/mysql-client/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/databases/mysql-client/Makefile b/databases/mysql-client/Makefile
new file mode 100644
index 00000000000..e6b98a58b00
--- /dev/null
+++ b/databases/mysql-client/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/05/06 23:22:27 tv Exp $
+#
+
+DISTNAME= mysql-3.22.22
+PKGNAME= ${DISTNAME:S/-/-client-/}
+CATEGORIES= databases
+MASTER_SITES= ftp://ftp.mysql.com/pub/mysql/Downloads/MySQL-3.22/ \
+ ftp://ftp.netcasting.net/pub/mysql/Downloads/MySQL-3.22/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.mysql.com/
+
+NO_CDROM= "Restrictive license."
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--without-perl --without-debug --without-bench \
+ --without-server
+
+.if exists(/usr/include/readline.h)
+CONFIGURE_ARGS+=--without-readline
+.endif
+
+CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+ INSTALL_DATA="${INSTALL_DATA}" \
+ INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+CFLAGS+= -Dunix
+
+USE_GMAKE= yes
+USE_PERL5= yes
+USE_LIBTOOL= yes
+
+INFO_FILES= mysql.info
+
+pre-install:
+ ${INSTALL_DATA} ${WRKSRC}/Docs/mysql.info ${PREFIX}/info
+
+.include "../../mk/bsd.pkg.mk"