summaryrefslogtreecommitdiff
path: root/databases/dbmetrix/Makefile
blob: 49e33c46ce52993db7cf8cbae58ce6e770f04e37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:   dbmetrix
# Date created:                Tue Sep  5 15:30:00 PDT 2000
# Whom:                        Joseph Scott <joseph@randomnetworks.com>
#
# $FreeBSD$
#

PORTNAME=	dbmetrix
PORTVERSION=	0.1.9
PORTREVISION=	1
CATEGORIES=	databases
MASTER_SITES=	ftp://ftp.tamos.net/pub/dbMetrix/ \
		ftp://ftp.upc.es/pub/linux/sunsite/X11/gtkbuffet/apps/dbmetrix/ \
		ftp://ftp.netsw.org/database/rdbms/mysql-addon/ \
		ftp://ftp.sai.msu.su/pub/unix/database/

MAINTAINER=	joseph@randomnetworks.com
COMMENT=	Another GTK+ frontend for mysql

LIB_DEPENDS=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src

PLIST_FILES=	bin/dbmetrix
USE_GNOME=	gtk12
USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS= --with-mysql=${PREFIX}

pre-configure:
	@${REINPLACE_CMD} -e "s.gtk-config.${GTK_CONFIG}.g" ${WRKSRC}/Makefile.in

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/dbmetrix ${PREFIX}/bin

.include <bsd.port.mk>