aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2002-05-17 21:31:55 +0000
committerSADA Kenji <sada@FreeBSD.org>2002-05-17 21:31:55 +0000
commit372ab172497c51b3691b7a0e1a9523fcc99133ed (patch)
tree105519be276316b28f50044d4a5edab827ee1009 /databases
parent932703eb65e44dba1b1a105a37f8caeffb1cce2a (diff)
downloadports-372ab172497c51b3691b7a0e1a9523fcc99133ed.tar.gz
ports-372ab172497c51b3691b7a0e1a9523fcc99133ed.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql-gui/Makefile19
1 files changed, 17 insertions, 2 deletions
diff --git a/databases/mysql-gui/Makefile b/databases/mysql-gui/Makefile
index 8ba172babbff..c18d79734b9b 100644
--- a/databases/mysql-gui/Makefile
+++ b/databases/mysql-gui/Makefile
@@ -9,12 +9,18 @@ PORTNAME= mysql-gui
PORTVERSION= 1.7.5
PORTREVISION= 1
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= mirrors/mysql/Downloads/mysqlgui
+MASTER_SITES= http://www.mysql.com/Downloads/%SUBDIR%/ \
+ ftp://mysql.nixc.net/pub/mysql/Downloads/%SUBDIR%/ \
+ ftp://sunsite.dk/ftp/mirrors/mysql/Downloads/%SUBDIR%/ \
+ ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/%SUBDIR%/
+MASTER_SITE_SUBDIR= mysqlgui
DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}
MAINTAINER= cyrille.lefevre@laposte.net
+# Global variables
+#
+
LIB_DEPENDS= sqlplus.1:${PORTSDIR}/databases/mysql++ \
intl.2:${PORTSDIR}/devel/gettext \
glut.3:${PORTSDIR}/graphics/Mesa3 \
@@ -28,12 +34,18 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/-/-src-/}
MAKE_ARGS= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
+# 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:
@@ -41,6 +53,9 @@ remove-inc:
@${RM} -f ${WRKSRC}/FL/${file}
.endfor
+# Pre-patch
+#
+
pre-patch: copy-inc
@${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/Fl_Help.cc