Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2011 02:56:42 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/161616: Update port: audio/qjackctl
Message-ID:  <20111015025642.57927cf5.tkato432@yahoo.com>
Resent-Message-ID: <201110141850.p9EIoHSj051395@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         161616
>Category:       ports
>Synopsis:       Update port: audio/qjackctl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 18:50:17 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Support CFLAGS properly
- Strip binaries

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/qjackctl/Makefile audio/qjackctl/Makefile
--- /usr/ports/audio/qjackctl/Makefile	2011-08-16 16:09:26.000000000 +0900
+++ audio/qjackctl/Makefile	2011-09-29 09:17:35.000000000 +0900
@@ -7,6 +7,7 @@
 
 PORTNAME=	qjackctl
 DISTVERSION=	0.3.8
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION}
 
@@ -14,29 +15,39 @@
 COMMENT=	Qt Interface for the JACK Audio Connection Kit
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	asound:${PORTSDIR}/audio/alsa-lib \
+LIB_DEPENDS=	asound.2:${PORTSDIR}/audio/alsa-lib \
 		jack.0:${PORTSDIR}/audio/jack
 
-GNU_CONFIGURE=	yes
+USE_QT_VER=	4
+QT_COMPONENTS=	corelib dbus gui xml \
+		linguist_build moc_build qmake_build rcc_build uic_build 
+QT_NONSTANDARD=	yes
 USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	ac_cv_path_ac_moc=${MOC} \
+		ac_cv_path_ac_uic=${UIC} \
+		ac_cv_path_ac_qmake=${QMAKE} \
+		ac_cv_path_ac_lupdate=${LUPDATE} \
+		ac_cv_path_ac_lrelease=${LRELEASE}
+CONFIGURE_ARGS=	--disable-portaudio
 INSTALLS_ICONS=	yes
 MAKE_JOBS_UNSAFE=yes
-USE_QT_VER=	4
-QT_COMPONENTS=	qmake_build moc_build uic_build rcc_build gui xml linguist_build \
-		corelib dbus
-CFLAGS+=	${PTHREAD_CFLAGS} ${PTHREAD_LIBS}
-CONFIGURE_ARGS+=--disable-portaudio \
-		ac_cv_path_ac_moc=${LOCALBASE}/bin/moc-qt4 \
-		ac_cv_path_ac_uic=${LOCALBASE}/bin/uic-qt4 \
-		ac_cv_path_ac_qmake=${LOCALBASE}/bin/qmake-qt4 \
-		ac_cv_path_ac_lupdate=${LOCALBASE}/bin/lupdate-qt4 \
-		ac_cv_path_ac_lrelease=${LOCALBASE}/bin/lrelease-qt4
 
 MAN1=		qjackctl.1
-MAN_COMPRESSED=	no
+
+LUPDATE=	${LOCALBASE}/bin/lupdate-qt4
+LRELEASE=	${LOCALBASE}/bin/lrelease-qt4
 
 post-patch:
-	${REINPLACE_CMD} -e 's|share/man|man|g' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's|share/man|man|g' ${WRKSRC}/Makefile.in
+
+post-configure:
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o ${PORTNAME}.mak \
+		${QMAKEFLAGS}
+
+post-install:
+	@${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
 
 .include <bsd.port.mk>
diff -urN /usr/ports/audio/qjackctl/pkg-plist audio/qjackctl/pkg-plist
--- /usr/ports/audio/qjackctl/pkg-plist	2011-08-16 16:09:26.000000000 +0900
+++ audio/qjackctl/pkg-plist	2011-08-09 19:29:13.000000000 +0900
@@ -8,8 +8,8 @@
 share/locale/qjackctl_it.qm
 share/locale/qjackctl_nl.qm
 share/locale/qjackctl_ru.qm
-@dirrmtry share/applications
 @dirrmtry share/icons/hicolor/32x32/apps
 @dirrmtry share/icons/hicolor/32x32
 @dirrmtry share/icons/hicolor
 @dirrmtry share/icons
+@dirrmtry share/applications
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111015025642.57927cf5.tkato432>