freebsd-ports/databases/mysql-navigator/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

38 lines
1 KiB
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= 5
CATEGORIES= databases kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:S/-//}
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:15
CONFIGURE_ARGS+=--with-mysql-includes=${LOCALBASE}/include/mysql \
--with-mysql-libraries=${LOCALBASE}/lib/mysql
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
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>