diff options
author | Anders Nordby <anders@FreeBSD.org> | 2003-09-07 00:56:10 +0000 |
---|---|---|
committer | Anders Nordby <anders@FreeBSD.org> | 2003-09-07 00:56:10 +0000 |
commit | 1272e6c8fbd3a9f7d98bea3a305ef6db6ecee7fd (patch) | |
tree | 6b55e69b73df880bf18c37fa001e248fcdd2731e /databases/mysqlcc | |
parent | a1327ebdc5f2dec724e9a2caac668552cb829574 (diff) | |
download | ports-1272e6c8fbd3a9f7d98bea3a305ef6db6ecee7fd.tar.gz ports-1272e6c8fbd3a9f7d98bea3a305ef6db6ecee7fd.zip |
Notes
Diffstat (limited to 'databases/mysqlcc')
-rw-r--r-- | databases/mysqlcc/Makefile | 52 | ||||
-rw-r--r-- | databases/mysqlcc/distinfo | 1 | ||||
-rw-r--r-- | databases/mysqlcc/pkg-descr | 5 | ||||
-rw-r--r-- | databases/mysqlcc/pkg-plist | 9 |
4 files changed, 67 insertions, 0 deletions
diff --git a/databases/mysqlcc/Makefile b/databases/mysqlcc/Makefile new file mode 100644 index 000000000000..827fc0aaffd4 --- /dev/null +++ b/databases/mysqlcc/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: mysqlcc +# Date created: 03 April 2002 +# Whom: ferruccio.vitale@tin.it +# +# $FreeBSD$ +# + +PORTNAME= mysqlcc +PORTVERSION= 0.9.3 +CATEGORIES= databases +MASTER_SITES= ftp://sunsite.dk/pub/databases/mysql/Downloads/MySQLCC/ \ + http://mysql.mirrors.pair.com/Downloads/MySQLCC/ \ + http://mirrors.sunsite.dk/mysql/Downloads/MySQLCC/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= ferruccio.vitale@tin.it +COMMENT= A platform-independent GUI administration client for the MySQL server + +.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10) +LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +.else +LIB_DEPENDS= mysqlclient.12:${PORTSDIR}/databases/mysql40-client +.endif + +USE_REINPLACE= yes +GNU_CONFIGURE= yes +USE_QT_VER= 3 +QT_NONSTANDARD= yes +CONFIGURE_ARGS+= --with-qt=${X11BASE} + +DOCS= Changelog.txt README.txt TODO.txt + +SHARE_DATA= error.wav warning.wav syntax.txt + +post-patch: + ${REINPLACE_CMD} -E -e 's@^(QMAKESPEC=\$$QTDIR).*@\1/share/qt/mkspecs/default@' ${WRKSRC}/configure + ${REINPLACE_CMD} -E -e 's@-pthread -D_THREAD_SAFE@${PTHREAD_CFLAGS}@;s@^(LFLAGS.*)-pthread@\1${PTHREAD_LIBS}@' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/mysqlcc ${PREFIX}/bin/ + ${MKDIR} -m 0755 ${DATADIR} +.for f in ${SHARE_DATA} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/ +.endfor +.if !defined(NOPORTDOCS) + ${MKDIR} -m 0755 ${DOCSDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/databases/mysqlcc/distinfo b/databases/mysqlcc/distinfo new file mode 100644 index 000000000000..959ba47de59f --- /dev/null +++ b/databases/mysqlcc/distinfo @@ -0,0 +1 @@ +MD5 (mysqlcc-0.9.3-src.tar.gz) = 9d49fa0658cd8cf81ee5f64bc942b4e9 diff --git a/databases/mysqlcc/pkg-descr b/databases/mysqlcc/pkg-descr new file mode 100644 index 000000000000..6177512cac11 --- /dev/null +++ b/databases/mysqlcc/pkg-descr @@ -0,0 +1,5 @@ +MySQL Control Center (also known as MySQLCC) is a +platform-independent GUI administration client for +the MySQL database server. + +WWW: http://www.mysql.com/products/mysqlcc/ diff --git a/databases/mysqlcc/pkg-plist b/databases/mysqlcc/pkg-plist new file mode 100644 index 000000000000..e1a3a778ad93 --- /dev/null +++ b/databases/mysqlcc/pkg-plist @@ -0,0 +1,9 @@ +bin/mysqlcc +%%DATADIR%%/error.wav +%%DATADIR%%/warning.wav +%%DATADIR%%/syntax.txt +%%PORTDOCS%%%%DOCSDIR%%/Changelog.txt +%%PORTDOCS%%%%DOCSDIR%%/README.txt +%%PORTDOCS%%%%DOCSDIR%%/TODO.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%DATADIR%% |