2000-07-03 18:44:36 +02:00
|
|
|
# New ports collection makefile for: mysql-navigator
|
|
|
|
# Date created: 2 June 2000
|
2000-11-01 16:51:11 +01:00
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-07-03 18:44:36 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mysql-navigator
|
2003-04-30 08:28:21 +02:00
|
|
|
PORTVERSION= 1.4.2
|
2004-04-05 05:31:02 +02:00
|
|
|
PORTREVISION= 2
|
2001-03-30 13:27:51 +02:00
|
|
|
CATEGORIES= databases kde
|
2004-03-10 07:28:46 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-08-02 05:33:17 +02:00
|
|
|
DISTNAME= mysqlnavigator-${PORTVERSION}
|
2000-07-03 18:44:36 +02:00
|
|
|
|
2001-04-02 13:01:10 +02:00
|
|
|
MAINTAINER= demon@FreeBSD.org
|
2003-02-23 12:36:52 +01:00
|
|
|
COMMENT= MySQL database server administration package for KDE
|
2000-07-03 18:44:36 +02:00
|
|
|
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= bin/mysqlnavigator
|
2004-01-03 00:32:09 +01:00
|
|
|
USE_MYSQL= yes
|
2000-07-03 18:44:36 +02:00
|
|
|
|
2002-09-21 06:21:45 +02:00
|
|
|
USE_KDELIBS_VER=3
|
2002-01-01 08:05:11 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2002-09-21 06:24:01 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-01-01 08:05:11 +01:00
|
|
|
CONFIGURE_ARGS+=--with-mysql-includes=${LOCALBASE}/include/mysql \
|
|
|
|
--with-mysql-libraries=${LOCALBASE}/lib/mysql
|
2004-03-10 07:28:46 +01:00
|
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-09-21 06:21:45 +02:00
|
|
|
CONFIGURE_ENV+= MOC="${MOC}" QTDIR="${X11BASE}"
|
|
|
|
MAKE_ENV+= MOC="${MOC}" QTDIR="${X11BASE}"
|
2000-07-03 18:44:36 +02:00
|
|
|
|
2002-01-01 08:05:11 +01:00
|
|
|
post-patch:
|
2004-01-03 00:32:09 +01:00
|
|
|
@${REINPLACE_CMD} 's#-O2#${CXXFLAGS}#g' ${WRKSRC}/configure
|
|
|
|
@${FIND} ${WRKSRC} -name "*_moc.cpp" -exec ${RM} -f {} \;
|
2002-09-21 06:21:45 +02:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${REINPLACE_CMD} "s#-lqt#-lqt-mt ${PTHREAD_LIBS}#g" \
|
|
|
|
${WRKSRC}/src/main/Makefile.in
|
2000-07-03 18:44:36 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|