freebsd-ports/sysutils/qpxtool/Makefile
Philip M. Gollucci 414efbaa69 sysutils/qpxtool: qt4-linguist -> qt4-linguisttools, add LICENSE
- Add LICENSE/LICENSE_FILE.
- Use qt4-linguisttools for localization.
- Add DB option group for reports database (taken from misc/krecipes-kde4).
- Strip binaries.
- Regenerate patch-configure with 'make makepatch'.
- Bump PORTREVISION.

PR:                  202044
Submitted by:        s3erios@gmail.com
Approved by:         horia@racoviceanu.com
2015-08-18 20:02:30 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= qpxtool
PORTVERSION= 0.7.2
PORTREVISION= 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
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:${PORTSDIR}/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>