summaryrefslogtreecommitdiffstats
path: root/sysutils/qpxtool/Makefile
blob: 3f024d6f3f272ff33e62508750b2fc396432a2fc (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
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$

PORTNAME=	qpxtool
PORTVERSION=	0.7.2
CATEGORIES=	sysutils
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTVERSION:C/\.[^.]*$/.x/}/${DISTVERSION}

MAINTAINER=	horia@racoviceanu.com
COMMENT=	GUI for testing CD/DVD quality and transfer rate

LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png

USES=		gmake tar:bzip2
USE_QT4=	qmake_build moc_build rcc_build linguist_build corelib gui network sql
QT_NONSTANDARD=	yes
HAS_CONFIGURE=	yes
CONFIGURE_ENV=	PREFIX=${PREFIX}
USE_LDCONFIG=	yes

post-configure:
	@${REINPLACE_CMD} -e 's|$$(QMAKE4)|& ${QMAKE_AGRS}|' \
		${WRKSRC}/gui/Makefile
	@${REINPLACE_CMD} -e 's|S_ISBLK|S_ISCHR|' \
		${WRKSRC}/lib/qpxtransport/qpx_mmc.cpp

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