blob: 938e039145fa235833ec7ef46c8c178349907859 (
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.11 2001/01/09 18:38:49 bad Exp $
#
DISTNAME= mysql-3.22.32
PKGNAME= ${DISTNAME:S/-/-client-/}
CATEGORIES= databases
MASTER_SITES= ftp://ftp.mysql.com/MySQL-3.22/ \
ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.22/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.mysql.com/
RESTRICTED= "Restrictive license."
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--without-perl --without-debug --without-bench \
--without-server --with-named-curses-libs="-lcurses -ltermcap"
.if exists(/usr/include/readline.h)
CONFIGURE_ARGS+=--without-readline
.endif
CFLAGS+= -Dunix
USE_PERL5= yes
USE_LIBTOOL= yes
INFO_FILES= mysql.info
EXTRACT_USING_PAX= yes
pre-install:
${INSTALL_DATA} ${WRKSRC}/Docs/mysql.info ${PREFIX}/info
.include "../../mk/bsd.pkg.mk"
|