View | Details | Raw Unified | Return to bug 202044
Collapse All | Expand All

(-)sysutils/qpxtool/Makefile (-2 / +18 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	qpxtool
4
PORTNAME=	qpxtool
5
PORTVERSION=	0.7.2
5
PORTVERSION=	0.7.2
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	sysutils
7
CATEGORIES=	sysutils
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTVERSION:C/\.[^.]*$/.x/}/${DISTVERSION}
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTVERSION:C/\.[^.]*$/.x/}/${DISTVERSION}
9
9
Lines 10-24 Link Here
10
MAINTAINER=	horia@racoviceanu.com
10
MAINTAINER=	horia@racoviceanu.com
11
COMMENT=	GUI for testing CD/DVD quality and transfer rate
11
COMMENT=	GUI for testing CD/DVD quality and transfer rate
12
12
13
LICENSE=	GPLv2
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
13
LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
16
LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
14
17
15
USES=		gmake tar:bzip2
18
USES=		gmake tar:bzip2
16
USE_QT4=	qmake_build moc_build rcc_build linguist_build corelib gui network sql
19
USE_QT4=	qmake_build moc_build rcc_build linguisttools_build \
20
		corelib gui network sql
17
QT_NONSTANDARD=	yes
21
QT_NONSTANDARD=	yes
18
HAS_CONFIGURE=	yes
22
HAS_CONFIGURE=	yes
19
CONFIGURE_ENV=	PREFIX=${PREFIX}
23
CONFIGURE_ENV=	PREFIX=${PREFIX}
20
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
21
25
26
OPTIONS_GROUP=		DB
27
OPTIONS_GROUP_DB=	SQLITE MYSQL PGSQL
28
OPTIONS_DEFAULT=	SQLITE
29
30
SQLITE_USE=	QT4=sql-sqlite3_run
31
MYSQL_USE=	QT4=sql-mysql_run
32
PGSQL_USE=	QT4=sql-pgsql_run
33
22
post-configure:
34
post-configure:
23
	@${REINPLACE_CMD} -e 's|$$(QMAKE4)|& ${QMAKE_AGRS}|' \
35
	@${REINPLACE_CMD} -e 's|$$(QMAKE4)|& ${QMAKE_AGRS}|' \
24
		${WRKSRC}/gui/Makefile
36
		${WRKSRC}/gui/Makefile
Lines 25-28 Link Here
25
	@${REINPLACE_CMD} -e 's|S_ISBLK|S_ISCHR|' \
37
	@${REINPLACE_CMD} -e 's|S_ISBLK|S_ISCHR|' \
26
		${WRKSRC}/lib/qpxtransport/qpx_mmc.cpp
38
		${WRKSRC}/lib/qpxtransport/qpx_mmc.cpp
27
39
40
post-install:
41
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* \
42
		${STAGEDIR}${PREFIX}/sbin/pxfw
43
28
.include <bsd.port.mk>
44
.include <bsd.port.mk>
(-)sysutils/qpxtool/files/patch-configure (-6 / +6 lines)
Lines 1-6 Link Here
1
--- configure.orig	2010-03-27 19:25:38.000000000 +0300
1
--- configure.orig	2012-12-04 12:06:33 UTC
2
+++ configure	2010-04-25 07:56:54.000000000 +0400
2
+++ configure
3
@@ -13,10 +13,10 @@
3
@@ -13,10 +13,10 @@ OSLIBS_INET=""
4
 OSLIBS_DL=""
4
 OSLIBS_DL=""
5
 OSLIBS_THREAD=""
5
 OSLIBS_THREAD=""
6
 
6
 
Lines 15-21 Link Here
15
 __enable_debug=no
15
 __enable_debug=no
16
 __enable_png=yes
16
 __enable_png=yes
17
 __enable_gui=yes
17
 __enable_gui=yes
18
@@ -261,8 +261,8 @@
18
@@ -344,8 +344,8 @@ LPNG_LIB  = $lpng_ldflags
19
 
19
 
20
 " >> Makefile
20
 " >> Makefile
21
 
21
 
Lines 26-32 Link Here
26
 
26
 
27
 	if test "$__enable_debug" = "yes" ; then
27
 	if test "$__enable_debug" = "yes" ; then
28
 		echo "# additional debug options" >> Makefile
28
 		echo "# additional debug options" >> Makefile
29
@@ -407,7 +407,7 @@
29
@@ -491,7 +491,7 @@ else
30
 		fi
30
 		fi
31
 	fi
31
 	fi
32
 fi
32
 fi
Lines 35-41 Link Here
35
 
35
 
36
 	echo "
36
 	echo "
37
 clean: Makefile.qmake
37
 clean: Makefile.qmake
38
@@ -765,7 +765,7 @@
38
@@ -846,7 +846,7 @@ case "$OSL" in
39
 		__libdir=$__prefix/lib
39
 		__libdir=$__prefix/lib
40
 		__plugindir=$__libdir/qpxtool
40
 		__plugindir=$__libdir/qpxtool
41
 		__incdir=$__prefix/include
41
 		__incdir=$__prefix/include

Return to bug 202044