blob: e6b98a58b00d4960c07db821d82525803fa08994 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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"
|