# ex:ts=8
# Ports collection makefile for:	eggcreator
# Date created:			May 4, 2004
# Whom:				ijliao
#
# $FreeBSD: ports/irc/eggcreator/Makefile,v 1.8 2007/06/15 09:37:12 beech Exp $
#

PORTNAME=	eggcreator
PORTVERSION=	0.1
PORTREVISION=	1
CATEGORIES=	irc
MASTER_SITES=	http://www.oook.cz/bsd/distfiles/ \
		LOCAL/beech

MAINTAINER=	beech@FreeBSD.org
COMMENT=	Eggdrop.conf creator

BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake

WRKSRC=		${WRKDIR}/eggconfcreator
USE_QT_VER=	3
MAKE_ENV=	QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
		QTDIR=${QT_PREFIX}
QMAKE=		${LOCALBASE}/bin/qmake

PLIST_FILES=	bin/egg

do-build:
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} egg.pro && \
	  ${SETENV} ${MAKE_ENV} make)

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

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1