ports/161616: Update port: audio/qjackctl

KATO Tsuguru tkato432 at yahoo.com
Fri Oct 14 18:50:17 UTC 2011


>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
- at dirrmtry share/applications
 @dirrmtry share/icons/hicolor/32x32/apps
 @dirrmtry share/icons/hicolor/32x32
 @dirrmtry share/icons/hicolor
 @dirrmtry share/icons
+ at dirrmtry share/applications
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list