1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Upgrade to 1.9

Requested by:	Andreas Klemm <andreas@FreeBSD.ORG>
This commit is contained in:
Dirk Froemberg 1998-12-27 19:30:33 +00:00
parent 45d5180a9c
commit 6242da2412
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15665
3 changed files with 25 additions and 24 deletions

View File

@ -3,14 +3,14 @@
# Date created: Tue Sep 2 15:46:09 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
# $Id: Makefile,v 1.11 1998/10/20 01:30:49 steve Exp $
# $Id: Makefile,v 1.12 1998/11/21 09:58:22 andreas Exp $
#
DISTNAME= xmysql-1.8
DISTNAME= xmysql-1.9
CATEGORIES= databases
MASTER_SITES= http://www.tcx.se/Contrib/ \
http://www.buoy.com/mysql/Contrib/ \
http://web.tryc.on.ca/mysql/Contrib/
http://web.tryc.on.ca/mysql/Contrib/
MAINTAINER= andreas@FreeBSD.ORG

View File

@ -1 +1 @@
MD5 (xmysql-1.8.tar.gz) = dc43a1971f197d37c10c0760de6d8c3b
MD5 (xmysql-1.9.tar.gz) = f16b621ad9b3665c4308cd6fc38f289a

View File

@ -1,45 +1,45 @@
--- Makefile.orig Wed Feb 25 03:19:31 1998
+++ Makefile Mon Mar 2 20:09:02 1998
@@ -31,24 +31,24 @@
--- Makefile.orig Fri Oct 23 03:35:51 1998
+++ Makefile Fri Dec 25 14:53:40 1998
@@ -31,24 +31,23 @@
PROGRAM = xmysql
# PROGRAM install path
-INSTALLPATH = /usr/local/xmysql-1.8
+INSTALLPATH = $(PREFIX)/bin
-INSTALLPATH = /usr/local/xmysql-1.9
+INSTALLPATH = ${PREFIX}/bin
# pixmap location
-XMYSQL_XPMPATH = /usr/local/xmysql-1.8
-XMYSQL_XPMPATH = /usr/local/xmysql-1.9
+XMYSQL_XPMPATH = ${X11BASE}/include/X11/pixmaps
# help path
-XMYSQL_HELPPATH = /usr/local/xmysql-1.8
-XMYSQL_HELPPATH = /usr/local/xmysql-1.9
+XMYSQL_HELPPATH = ${X11BASE}/lib/X11/xmysql
# Compilation Details
-CC = gcc
-STDCFLAGS = -g -c -O2 -Wall -DXMYSQL_XPMPATH=\"$(XMYSQL_XPMPATH)\" -DXMYSQL_HELPPATH=\"$(XMYSQL_HELPPATH)\"
+#CC = gcc
+STDCFLAGS = $(CFLAGS) -DXMYSQL_XPMPATH=\"$(XMYSQL_XPMPATH)\" -DXMYSQL_HELPPATH=\"$(XMYSQL_HELPPATH)\"
STDLFLAGS =
MYSQLINC = -I/usr/local/include/mysql
MYSQLLOAD = -L/usr/local/lib/mysql -lmysqlclient
-XFORMLIBDIR = -L/usr/lib
-XFORMINCDIR = -I/usr/include
-MYSQLINC = -I/usr/include/mysql
-MYSQLLOAD = -L/usr/lib/mysql -lmysqlclient
-XFORMLIBDIR = -L/usr/local/xforms
-XFORMINCDIR = -I/usr/local/xforms
+MYSQLINC = -I${LOCALBASE}/include/mysql
+MYSQLLOAD = -L${LOCALBASE}/lib/mysql -lmysqlclient
+XFORMLIBDIR = -L${X11BASE}/lib
+XFORMINCDIR = -I${X11BASE}/include
XINC =
-XLOAD = -L/usr/X11R6/lib -lX11
+XLOAD = -L${X11BASE}/lib -lX11
+XLOAD = -L${X11BASE}/lib -lX11
# objects needed for the program
OBJS = Xmysql.o \
@@ -56,20 +56,22 @@
Xmysql_cb.o \
@@ -57,20 +56,23 @@
XmysqlDB.o \
XmysqlErr.o
+
+all: ${PROGRAM}
+all: ${PROGRAM}
+
${PROGRAM}: $(OBJS)
$(CC) -o ${PROGRAM} $(OBJS) $(MYSQLINC) $(XFORMINCDIR) \
$(XINC) $(STDLFLAGS) $(MYSQLLOAD) \
@ -54,11 +54,12 @@
rm -f ${PROGRAM} $(OBJS)
install:
install -d $(INSTALLPATH) $(XMYSQL_XPMPATH) $(XMYSQL_HELPPATH)
- install --mode=711 $(PROGRAM) $(INSTALLPATH)
- install --mode=744 mysql.xpm $(XPMPATH)
- install --mode=744 sqlhelp.txt $(HELPPATH)
-
- install --mode=744 mysql.xpm $(XMYSQL_XPMPATH)
- install --mode=744 sqlhelp.txt $(XMYSQL_HELPPATH)
+ install -s -m 511 $(PROGRAM) $(INSTALLPATH)
+ install -m 444 mysql.xpm $(XMYSQL_XPMPATH)
+ install -d -m 755 $(XMYSQL_HELPPATH)
+ install -m 444 sqlhelp.txt $(XMYSQL_HELPPATH)