diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2012-03-04 05:48:55 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2012-03-04 05:48:55 +0000 |
commit | a2e35f461d47836ec3f434ef8c95cf717c13474e (patch) | |
tree | e45391a9451e30f1fe7ebe87bbe1935037df19a0 /deskutils | |
parent | a02315f0c0c756cc6af736b094ad9b6e75c34141 (diff) | |
download | ports-a2e35f461d47836ec3f434ef8c95cf717c13474e.tar.gz ports-a2e35f461d47836ec3f434ef8c95cf717c13474e.zip |
Notes
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/cdcat/Makefile | 27 | ||||
-rw-r--r-- | deskutils/cdcat/distinfo | 4 |
2 files changed, 24 insertions, 7 deletions
diff --git a/deskutils/cdcat/Makefile b/deskutils/cdcat/Makefile index 19f46d51153e..e8037e0e24c7 100644 --- a/deskutils/cdcat/Makefile +++ b/deskutils/cdcat/Makefile @@ -6,7 +6,7 @@ # PORTNAME= cdcat -PORTVERSION= 1.5 +PORTVERSION= 1.8 CATEGORIES= deskutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \ GOOGLE_CODE:lib7zip @@ -21,7 +21,7 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/archivers/p7zip:patch \ - ${NONEXISTENT}:${PORTSDIR}/multimedia/mediainfo:patch + ${NONEXISTENT}:${PORTSDIR}/multimedia/mediainfo:build LIB_DEPENDS= tar.0:${PORTSDIR}/devel/libtar BUILD_WRKSRC= ${WRKSRC}/src @@ -35,9 +35,16 @@ MAKE_JOBS_SAFE= yes QMAKEFLAGS+= INCLUDEPATH+="${L7Z_WRKSRC}/Lib7Zip" \ INCLUDEPATH+="${MIF_WRKSRC}/MediaInfoLib/Source" \ - LIBS+="${L7Z_WRKSRC}/Lib7Zip/lib7zip.a" + INCLUDEPATH+="${MIF_WRKSRC}/ZenLib/Source" \ + LIBS+="${L7Z_WRKSRC}/Lib7Zip/lib7zip.a" \ + LIBS+="${MIF_WRKSRC}/MediaInfoLib/Project/GNU/Library/.libs/libmediainfo.a" \ + LIBS+="${MIF_WRKSRC}/ZenLib/Project/GNU/Library/.libs/libzen.a" \ + DEFINES+="MEDIAINFO_STATIC" LRELEASE= ${QT_PREFIX}/bin/lrelease-qt4 +# spoof tinderbox: build deps for multimedia/mediainfo +USE_AUTOTOOLS= automake:env autoconf:env libtool:env + PORTDOCS= Authors ChangeLog README TRANSLATORS_README PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/${PORTNAME}.png .for lang in cz de el es fr hu id it pl pt sk sr @@ -60,8 +67,18 @@ post-extract: @${LN} -sf ${L7Z_NAME}-${L7Z_VERSION} ${L7Z_WRKSRC} post-patch: - @${REINPLACE_CMD} -e 's|-ldl .*||g' ${BUILD_WRKSRC}/${PORTNAME}.pro - @${REINPLACE_CMD} -e 's|-ldl||g' ${L7Z_WRKSRC}/Test7Zip/Makefile.in + @${REINPLACE_CMD} -e \ + '/lib7zip.a/s|^|#| ; \ + /-lmediainfo/s|^|#| ; \ + /libmediainfo/s|^|#| ; \ + s|-ldl|| ; \ + s|-std=c++0x || ; \ + s|-g || ; \ + s|-O2 ||' ${BUILD_WRKSRC}/${PORTNAME}.pro + @${REINPLACE_CMD} -e \ + 's|/dev/sr0|/dev/cd0|' ${BUILD_WRKSRC}/config.cpp + @${REINPLACE_CMD} -e \ + 's|-ldl||' ${L7Z_WRKSRC}/Test7Zip/Makefile.in pre-configure: @cd ${L7Z_WRKSRC} && ./configure --disable-shared \ diff --git a/deskutils/cdcat/distinfo b/deskutils/cdcat/distinfo index 53173eba23a8..c92a49025a86 100644 --- a/deskutils/cdcat/distinfo +++ b/deskutils/cdcat/distinfo @@ -1,4 +1,4 @@ -SHA256 (cdcat-1.5.tar.bz2) = 586aa5885418b6e4be7fcf888cfa249ec97b4b70a95fefe568ed826094d645a4 -SIZE (cdcat-1.5.tar.bz2) = 287378 +SHA256 (cdcat-1.8.tar.bz2) = 0f535a544227e8ff7859f618ab81723e84ba8a2dc7684ace4d13d10127c6eb24 +SIZE (cdcat-1.8.tar.bz2) = 306422 SHA256 (lib7zip-1.4.1.tar.gz) = 20efb640c43c5d05e1f8d641eb0d01f8712648fe7989f275ec5b2997641316d9 SIZE (lib7zip-1.4.1.tar.gz) = 95080 |