From owner-svn-ports-head@FreeBSD.ORG Fri May 15 06:34:28 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 107ABD9E; Fri, 15 May 2015 06:34:28 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E5D0F1C56; Fri, 15 May 2015 06:34:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4F6YRfb037169; Fri, 15 May 2015 06:34:27 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4F6YR9e037166; Fri, 15 May 2015 06:34:27 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201505150634.t4F6YR9e037166@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Fri, 15 May 2015 06:34:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386385 - in head/deskutils/cdcat: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2015 06:34:28 -0000 Author: riggs Date: Fri May 15 06:34:26 2015 New Revision: 386385 URL: https://svnweb.freebsd.org/changeset/ports/386385 Log: - Un-break build - Cleanup Makefile - Pet portlint PR: 199222 Submitted by: tkato432@yahoo.com MFH: 2015Q2 Modified: head/deskutils/cdcat/Makefile head/deskutils/cdcat/distinfo head/deskutils/cdcat/files/patch-src__exportcdcatdb.cpp Modified: head/deskutils/cdcat/Makefile ============================================================================== --- head/deskutils/cdcat/Makefile Fri May 15 06:22:17 2015 (r386384) +++ head/deskutils/cdcat/Makefile Fri May 15 06:34:26 2015 (r386385) @@ -3,25 +3,17 @@ PORTNAME= cdcat PORTVERSION= 2.3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \ - GOOGLE_CODE:lib7zip -PROJECTHOST= lib7zip -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - ${L7Z_DISTFILE}:lib7zip -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Qt based tool for offline CD/DVD/disk catalogs -BROKEN= Fails to build with new p7zip - LICENSE= GPLv2 MPL LICENSE_COMB= multi -BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/archivers/p7zip:patch \ - cryptopp>0:${PORTSDIR}/security/cryptopp +BUILD_DEPENDS= cryptopp>0:${PORTSDIR}/security/cryptopp LIB_DEPENDS= libtar.so:${PORTSDIR}/devel/libtar \ libexif.so:${PORTSDIR}/graphics/libexif \ libmediainfo.so:${PORTSDIR}/multimedia/libmediainfo \ @@ -32,9 +24,7 @@ BUILD_WRKSRC= ${CONFIGURE_WRKSRC} USES= libtool qmake:norecursive tar:bzip2 USE_QT4= corelib gui xml linguist_build moc_build uic_build -QMAKE_ARGS= INCLUDEPATH+="${L7Z_WRKSRC}/Lib7Zip" \ - LIBS+="${L7Z_WRKSRC}/Lib7Zip/lib7zip.a" \ - LIBS+="${LOCALBASE}/lib/libcryptopp.a" \ +QMAKE_ARGS= LIBS+="${LOCALBASE}/lib/libcryptopp.a" \ LIBS+="-lz -lbz2 -ltar -lexif -lmediainfo -lzen" \ DEFINES+="MEDIAINFO_STATIC" \ DEFINES+="MEDIAINFO_UNICODE" \ @@ -57,42 +47,20 @@ DESKTOP_ENTRIES="CdCat" "Hyper's CD Cata OPTIONS_DEFINE= DOCS -L7Z_NAME= lib7zip -L7Z_VERSION= 1.6.5 -L7Z_DISTFILE= ${L7Z_NAME}-${L7Z_VERSION}.tar.gz -L7Z_WRKSRC= ${WRKDIR}/${L7Z_NAME} - -.include - -P7Z_WRKSRC= $$(cd ${PORTSDIR}/archivers/p7zip && ${MAKE_CMD} -V WRKSRC) - -post-extract: - @${GZCAT} ${DISTDIR}/${L7Z_DISTFILE} | (cd ${WRKDIR} && ${TAR} -xf -) - @${LN} -sf ${L7Z_NAME}-${L7Z_VERSION} ${L7Z_WRKSRC} - post-patch: @${REINPLACE_CMD} -e \ - '/LIBS/s|^|#|' ${BUILD_WRKSRC}/${PORTNAME}.pro + '/USE_LIB7ZIP/s|^|#| ; \ + /LIBS/s|^|#|' ${BUILD_WRKSRC}/${PORTNAME}.pro @${REINPLACE_CMD} -e \ 's|/dev/sr0|/dev/cd0|' ${BUILD_WRKSRC}/config.cpp .for i in newdbdialog.cpp wdbfile.h @${REINPLACE_CMD} -e \ 's|crypto++/|cryptopp/|' ${BUILD_WRKSRC}/${i} .endfor - @${REINPLACE_CMD} -e \ - 's|-ldl||' ${L7Z_WRKSRC}/Test7Zip/Makefile.in pre-configure: - @cd ${L7Z_WRKSRC} && ./configure --disable-shared \ - CC="${CC}" CFLAGS="${CFLAGS}" \ - CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ - P7ZIP_SOURCE_DIR="${P7Z_WRKSRC}" @${LRELEASE} ${BUILD_WRKSRC}/${PORTNAME}.pro -pre-build: - @cd ${L7Z_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ - ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET} - do-install: (cd ${BUILD_WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin) @@ -115,4 +83,4 @@ do-install: (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor -.include +.include Modified: head/deskutils/cdcat/distinfo ============================================================================== --- head/deskutils/cdcat/distinfo Fri May 15 06:22:17 2015 (r386384) +++ head/deskutils/cdcat/distinfo Fri May 15 06:34:26 2015 (r386385) @@ -1,4 +1,2 @@ SHA256 (cdcat-2.3.1.tar.bz2) = 7cb1bbd7646faf93359acda5835f510766c82e612bca577282571f13a8d5f01c SIZE (cdcat-2.3.1.tar.bz2) = 428708 -SHA256 (lib7zip-1.6.5.tar.gz) = a6fb9118657c71db5b40068cd6ddd35430818aaa21aa2d0af4d6c3309e9f2a38 -SIZE (lib7zip-1.6.5.tar.gz) = 359986 Modified: head/deskutils/cdcat/files/patch-src__exportcdcatdb.cpp ============================================================================== --- head/deskutils/cdcat/files/patch-src__exportcdcatdb.cpp Fri May 15 06:22:17 2015 (r386384) +++ head/deskutils/cdcat/files/patch-src__exportcdcatdb.cpp Fri May 15 06:34:26 2015 (r386385) @@ -1,6 +1,6 @@ ---- src/exportcdcatdb.cpp.orig +--- src/exportcdcatdb.cpp.orig 2013-08-29 06:08:32 UTC +++ src/exportcdcatdb.cpp -@@ -30,6 +30,7 @@ +@@ -30,6 +30,7 @@ Copyright : (C) 2003 Christoph Thielecke #include #include #include