summaryrefslogtreecommitdiffstats
path: root/sysutils/pbreg/Makefile
blob: 8dd2a2bebfc1f92acb7688357575545323b30c61 (plain)
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:	pbreg
# Date created:				Mar 29, 2010
# Whom:					Kris Moore
#
# $FreeBSD$
#

PORTNAME=	pbreg
PORTVERSION=	1.0
CATEGORIES=	sysutils
MASTER_SITES=	ftp://ftp.pcbsd.org/pub/software/ \
		http://www.pcbsd.org/~kris/software/

MAINTAINER=	kmoore@FreeBSD.org
COMMENT=	PC-BSD Registry Editor

WRKSRC=		${WRKDIR}/PBReg

USE_QT_VER=	4
QT_COMPONENTS=	corelib gui qmake_build moc_build rcc_build uic_build
HAS_CONFIGURE=	yes

QMAKE_ARGS=     -unix -recursive ${QMAKE_PRO}
QMAKE_PRO=      PBReg.pro

PLIST_FILES=	bin/pbreg

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
				 ${WRKSRC}/${QMAKE_PRO}

do-configure:
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
		${QMAKE} -unix CONFIG+="configure" ${QMAKE_PRO}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud