1999-10-03 22:04:20 +00:00
|
|
|
# New ports collection makefile for: dbf2mysql
|
|
|
|
# Date created: 02 October 1999
|
|
|
|
# Whom: jedgar@fxp.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-08 22:49:07 +00:00
|
|
|
PORTNAME= dbf2mysql
|
|
|
|
PORTVERSION= 1.13
|
1999-10-03 22:04:20 +00:00
|
|
|
CATEGORIES= databases
|
2000-04-08 22:49:07 +00:00
|
|
|
MASTER_SITES= http://www.mysql.com/Contrib/
|
1999-10-03 22:04:20 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2000-04-08 22:49:07 +00:00
|
|
|
MAINTAINER=jedgar@fxp.org
|
1999-10-03 22:04:20 +00:00
|
|
|
|
|
|
|
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>
|