Index: head/sysutils/qpxtool/Makefile =================================================================== --- head/sysutils/qpxtool/Makefile (revision 394648) +++ head/sysutils/qpxtool/Makefile (revision 394649) @@ -1,28 +1,44 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= qpxtool PORTVERSION= 0.7.2 -PORTREVISION= 1 +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 linguist_build corelib gui network sql +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 Index: head/sysutils/qpxtool/files/patch-configure =================================================================== --- head/sysutils/qpxtool/files/patch-configure (revision 394648) +++ head/sysutils/qpxtool/files/patch-configure (revision 394649) @@ -1,46 +1,46 @@ ---- configure.orig 2010-03-27 19:25:38.000000000 +0300 -+++ configure 2010-04-25 07:56:54.000000000 +0400 -@@ -13,10 +13,10 @@ +--- configure.orig 2012-12-04 12:06:33 UTC ++++ configure +@@ -13,10 +13,10 @@ OSLIBS_INET="" OSLIBS_DL="" OSLIBS_THREAD="" -__cc=cc -__cxx=c++ -__defprefix="" -__prefix="" +__cc=${CC} +__cxx=${CXX} +__defprefix="${PREFIX}" +__prefix="${PREFIX}" __enable_debug=no __enable_png=yes __enable_gui=yes -@@ -261,8 +261,8 @@ +@@ -344,8 +344,8 @@ LPNG_LIB = $lpng_ldflags " >> Makefile - echo "CXXFLAGS += -Wall -O2 $OSDEFS $LPNG_DEFS $PLUGIN_DEFS $DEFS" >> Makefile - echo "CFLAGS += -Wall -O2 $OSDEFS $LPNG_DEFS $PLUGIN_DEFS $DEFS" >> Makefile + echo "CXXFLAGS += -Wall $OSDEFS $LPNG_DEFS $PLUGIN_DEFS $DEFS" >> Makefile + echo "CFLAGS += -Wall $OSDEFS $LPNG_DEFS $PLUGIN_DEFS $DEFS" >> Makefile if test "$__enable_debug" = "yes" ; then echo "# additional debug options" >> Makefile -@@ -407,7 +407,7 @@ +@@ -491,7 +491,7 @@ else fi fi fi - echo " lrelease -verbose qpxtool.pro" >> $mf + echo " lrelease-qt4 -verbose qpxtool.pro" >> $mf echo " clean: Makefile.qmake -@@ -765,7 +765,7 @@ +@@ -846,7 +846,7 @@ case "$OSL" in __libdir=$__prefix/lib __plugindir=$__libdir/qpxtool __incdir=$__prefix/include - __mandir=$__prefix/share/man + __mandir=$__prefix/man ;; mingw32*) __bindir=$__prefix