aboutsummaryrefslogtreecommitdiff
path: root/sysutils/easypbi/Makefile
blob: dbaaa7df72026a66c1e4a6365daa8253ccb6aaba (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
37
38
39
40
41
# New ports collection makefile for:	easypbi
# Date created:			  	2011-11-29
# Whom:					jessefrgsmith@yahoo.ca
#
# $FreeBSD$
#

PORTNAME=	easypbi
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	SF/makeapbi/${PORTNAME}/

MAINTAINER=	jessefrgsmith@yahoo.ca
COMMENT=	Graphical PBI module and package creator

LIB_DEPENDS=	Imath.6:${PORTSDIR}/graphics/ilmbase \
		IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
		jasper.4:${PORTSDIR}/graphics/jasper \
		jpeg.11:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS=	${LOCALBASE}/bin/gksu:${PORTSDIR}/sysutils/gksu \
		${LOCALBASE}/sbin/pbid:${PORTSDIR}/ports-mgmt/pbi-manager

USE_QT_VER=	4
QT_COMPONENTS=	qmake_build moc_build rcc_build uic_build \
		linguist_build assistant_run qt3support \
		dbus designer gui help-tools network script \
		sql svg xml webkit
HAS_CONFIGURE=	yes
MAKE_JOBS_SAFE=	yes
WRKSRC=		${WRKDIR}/EasyPBI

do-configure:
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} -recursive PREFIX=${PREFIX} EasyPBI.pro

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/EasyPBI ${PREFIX}/bin/EasyPBI
	@${MKDIR} ${DATADIR}/../pbimaker
	@${INSTALL_DATA} ${WRKSRC}/defaulticon.png ${DATADIR}/../pbimaker/

.include <bsd.port.mk>