aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2001-02-07 18:26:11 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2001-02-07 18:26:11 +0000
commit6abf0ab008dd378e8e8d5c6c3a63ad2eeac27a30 (patch)
tree134e37990eb852bf2e9fc5655f4c658d6f468e43
parente7cb00253dc1746f0b20e8c1bd0ea2f777d92dc8 (diff)
downloadports-6abf0ab008dd378e8e8d5c6c3a63ad2eeac27a30.tar.gz
ports-6abf0ab008dd378e8e8d5c6c3a63ad2eeac27a30.zip
Notes
-rw-r--r--databases/dbf2mysql/Makefile12
-rw-r--r--databases/dbf2mysql/distinfo2
-rw-r--r--databases/dbf2mysql/files/patch-aa42
3 files changed, 20 insertions, 36 deletions
diff --git a/databases/dbf2mysql/Makefile b/databases/dbf2mysql/Makefile
index 1dc0ddaa38b9..3b3926f0c373 100644
--- a/databases/dbf2mysql/Makefile
+++ b/databases/dbf2mysql/Makefile
@@ -6,22 +6,14 @@
#
PORTNAME= dbf2mysql
-PORTVERSION= 1.13
+PORTVERSION= 1.14
CATEGORIES= databases
-MASTER_SITES= http://www.mysql.net/Downloads/Contrib/
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://download.sourceforge.net/pub/mirrors/mysql/Downloads/Contrib/
MAINTAINER= jedgar@FreeBSD.org
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
-NO_WRKSUBDIR= yes
-
-do-configure:
- @${MV} ${WRKDIR}/Makefile ${WRKDIR}/Makefile.orig
- @${SED} -e 's|/usr/local/mysql/include|${PREFIX}/include/mysql|' \
- -e 's|/usr/local/mysql/lib|${PREFIX}/lib/mysql|' \
- < ${WRKDIR}/Makefile.orig > ${WRKDIR}/Makefile
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/dbf2mysql ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/mysql2dbf ${PREFIX}/bin
diff --git a/databases/dbf2mysql/distinfo b/databases/dbf2mysql/distinfo
index 3bac707f73d1..f3a6df5d981e 100644
--- a/databases/dbf2mysql/distinfo
+++ b/databases/dbf2mysql/distinfo
@@ -1 +1 @@
-MD5 (dbf2mysql-1.13.tgz) = 33eeadba73885f812a07e5079af89cc7
+MD5 (dbf2mysql-1.14.tar.gz) = d58917aef55be4727f2b691eee09323a
diff --git a/databases/dbf2mysql/files/patch-aa b/databases/dbf2mysql/files/patch-aa
index 2f1a9345ab38..e65f0edb2616 100644
--- a/databases/dbf2mysql/files/patch-aa
+++ b/databases/dbf2mysql/files/patch-aa
@@ -1,43 +1,35 @@
---- Makefile.orig Thu Aug 26 09:49:08 1999
-+++ Makefile Mon Oct 4 19:01:45 1999
-@@ -2,17 +2,17 @@
+--- Makefile.orig Fri Jul 7 20:19:19 2000
++++ Makefile Wed Feb 7 13:07:42 2001
+@@ -2,27 +2,27 @@
# Maarten Boekhold (boekhold@cindy.et.tudelft.nl) 1995
# Set this to your C-compiler
-CC=gcc
-+#CC=gcc
++CC?=gcc
# set this to your install-program (what does Solaris have
# in /usr/sbin/install? SYSV install?)
--INSTALL=/usr/bin/install
-+#INSTALL=/usr/bin/install
+ INSTALL=/usr/bin/install
#AR=/usr/bin/ar
-AR=ar
-+#AR=ar
++AR?=ar
# Set this to whatever your compiler accepts. Nothing special is needed
+ #CFLAGS=-g -Wall -pedantic -include /usr/include/mpatrol.h
+ #CFLAGS=-g -Wall
-CFLAGS=-O2 -Wall
-+#CFLAGS=-O2 -Wall
++CFLAGS?=-O2 -Wall
+
+ # Set this to make smaller binaries
+ #STRIP=
+ STRIP=-s
# Set this to your MySQL installation-path
- MYSQLINC=-I/usr/local/mysql/include
-@@ -20,7 +20,7 @@
+-MYSQLINC=-I/usr/include/mysql
+-MYSQLLIB=-L/usr/lib/mysql
++MYSQLINC=-I${PREFIX}/include/mysql
++MYSQLLIB=-L${PREFIX}/lib/mysql
# Set this to where you want the binary (no man-page yet, don't know
# how to write them)
--INSTALLDIR=/usr/local/bin
-+#INSTALLDIR=/usr/local/bin
-
- # Set this if your system needs extra libraries
- #
-@@ -42,7 +42,8 @@
- all: dbf2mysql mysql2dbf
-
- libdbf.a: dbf.o endian.o
-- $(AR) rcs libdbf.a dbf.o endian.o
-+ $(AR) rc libdbf.a dbf.o endian.o
-+ $(RANLIB) libdbf.a
-
- dbf2mysql: dbf2mysql.o libdbf.a
- $(CC) $(CFLAGS) -s -L. $(MYSQLLIB) -o $@ dbf2mysql.o -ldbf \