diff options
-rw-r--r-- | databases/mysql-gui/Makefile | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/databases/mysql-gui/Makefile b/databases/mysql-gui/Makefile index 8ba172b..c18d797 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 |