1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/sysutils/qpxtool/Makefile
2018-03-18 06:28:46 +00:00

49 lines
1.4 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= qpxtool
PORTVERSION= 0.7.2
PORTREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION:C/\.[^.]*$/.x/}/${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GUI for testing CD/DVD quality and transfer rate
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_aarch64= fails to compile: qpx_mmc_defs.h:608:4: constant expression evaluates to -1 which cannot be narrowed to type 'char'
BROKEN_armv6= fails to compile: qpx_mmc_defs.h:608:4: constant expression evaluates to -1 which cannot be narrowed to type 'char'
BROKEN_armv7= fails to compile: qpx_mmc_defs.h:608:4: constant expression evaluates to -1 which cannot be narrowed to type 'char'
LIB_DEPENDS= libpng.so:graphics/png
USES= gmake tar:bzip2
USE_QT4= qmake_build moc_build rcc_build linguisttools_build \
corelib gui network sql
QT_NONSTANDARD= yes
HAS_CONFIGURE= yes
CONFIGURE_ENV= PREFIX=${PREFIX}
USE_LDCONFIG= yes
OPTIONS_GROUP= DB
OPTIONS_GROUP_DB= SQLITE MYSQL PGSQL
OPTIONS_DEFAULT= SQLITE
SQLITE_USE= QT4=sql-sqlite3_run
MYSQL_USE= QT4=sql-mysql_run
PGSQL_USE= QT4=sql-pgsql_run
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
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* \
${STAGEDIR}${PREFIX}/sbin/pxfw
.include <bsd.port.mk>