aboutsummaryrefslogtreecommitdiffstats
path: root/databases/dbf2mysql/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/dbf2mysql/Makefile')
-rw-r--r--databases/dbf2mysql/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/databases/dbf2mysql/Makefile b/databases/dbf2mysql/Makefile
new file mode 100644
index 00000000000..b11464ba5a0
--- /dev/null
+++ b/databases/dbf2mysql/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: dbf2mysql
+# Version required: 1.13
+# Date created: 02 October 1999
+# Whom: jedgar@fxp.org
+#
+# $FreeBSD$
+#
+
+DISTNAME= dbf2mysql-1.13
+CATEGORIES= databases
+MASTER_SITES= http://www.mysql.com/Contrib/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= jedgar@fxp.org
+
+LIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-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
+
+.include <bsd.port.mk>