freebsd-ports/databases/mysql-navigator/Makefile
Dirk Meyer de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00

36 lines
964 B
Makefile

# New ports collection makefile for: mysql-navigator
# Date created: 2 June 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mysql-navigator
PORTVERSION= 1.4.2
PORTREVISION= 9
CATEGORIES= databases kde
MASTER_SITES= SF/mysqlnavigator/mysqlnavigator/${PORTVERSION}
DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}
MAINTAINER= demon@FreeBSD.org
COMMENT= MySQL database server administration package for KDE
PLIST_FILES= bin/mysqlnavigator
USE_MYSQL= yes
USE_KDELIBS_VER=3
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:22
CONFIGURE_ARGS+=--with-mysql-includes=${LOCALBASE}/include/mysql \
--with-mysql-libraries=${LOCALBASE}/lib/mysql
MAKE_ENV+= MOC="${MOC}" QTDIR="${QT_PREFIX}"
post-patch:
@${REINPLACE_CMD} 's#-O2#${CXXFLAGS}#g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "*_moc.cpp" -exec ${RM} -f {} \;
pre-configure:
@${REINPLACE_CMD} "s#-lqt#-lqt-mt ${PTHREAD_LIBS}#g" \
${WRKSRC}/src/main/Makefile.in
.include <bsd.port.mk>