1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/databases/mysql-gui/Makefile
Kris Kennaway b70e8b7e1d This port is scheduled to be removed on 2005-02-18 if it is still
broken at that time, and a fix has not been submitted to GNATS.
2004-12-18 23:02:35 +00:00

74 lines
1.9 KiB
Makefile

# New ports collection makefile for: mysql-gui
# Date created: August 17 2001
# Whom: Cyrille Lefevre <clefevre@citeweb.net>
#
# $FreeBSD$
#
PORTNAME= mysql-gui
PORTVERSION= 1.7.5
PORTREVISION= 5
CATEGORIES= databases
MASTER_SITES= http://mysql.ftp.cvut.cz/Downloads/%SUBDIR%/ \
http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/%SUBDIR%/ \
http://mysql.he.net/Downloads/%SUBDIR%/
MASTER_SITE_SUBDIR= mysqlgui
DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A graphical SQL client for MySQL
LIB_DEPENDS= mysqlpp.2:${PORTSDIR}/databases/mysql++ \
glut.3:${PORTSDIR}/graphics/libglut \
jpeg.9:${PORTSDIR}/graphics/jpeg \
fleditor.1:${PORTSDIR}/x11-toolkits/fl_editor \
flvw.1:${PORTSDIR}/x11-toolkits/flvw
PATCH_DEPENDS= ${X11BASE}/include/FL/Fl_Editor.H:${PORTSDIR}/x11-toolkits/fl_editor
BROKEN= Does not build with new mysql++, use mysql-administrator \(GNOME\) or mysql-navigator \(KDE\) instead
EXPIRATION_DATE=2005-02-18
DEPRECATED= ${BROKEN}
USE_GCC= 3.3
USE_GETTEXT= yes
USE_REINPLACE= yes
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/${DISTNAME:S/-/-src-/}
MAKE_ARGS= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
CFLAGS+= -I${LOCALBASE}/include/mysql++
# Local Variables
#
OLD_FILES= Fl_Editor.h Fl_FancyEditor.h Fl_ProgressBox.h \
Fl_StatusPanel.h Flv_CStyle.H Flv_List.H Flv_Style.H \
Flv_Table.H Flve_Check_Button.H Flve_Combo.H Flve_Input.H \
editor.h math.h strings.h vartypes.h wstrings.h
NEW_FILES= Fl_Editor.H editengine.h
# Post-extract
#
post-extract: remove-inc
remove-inc:
.for file in ${OLD_FILES}
@${RM} -f ${WRKSRC}/FL/${file}
.endfor
# Pre-patch
#
pre-patch: copy-inc
@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' \
${WRKSRC}/Fl_Help.cc
copy-inc:
.for file in ${NEW_FILES}
@${CP} ${X11BASE}/include/FL/${file} ${WRKSRC}/FL/
.endfor
.include <bsd.port.mk>