diff options
author | pawel <pawel@FreeBSD.org> | 2012-12-09 01:08:59 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-12-09 01:08:59 +0800 |
commit | 0c8e872758c63b952d951f927997b2edad73dd41 (patch) | |
tree | e33552dbb00d9e52a402a16b0df9f3c7edbc2063 /deskutils | |
parent | 79a1464f18a08c5c794833f0cb4909281b4f35a3 (diff) | |
download | freebsd-ports-gnome-0c8e872758c63b952d951f927997b2edad73dd41.tar.gz freebsd-ports-gnome-0c8e872758c63b952d951f927997b2edad73dd41.tar.zst freebsd-ports-gnome-0c8e872758c63b952d951f927997b2edad73dd41.zip |
- Fix build on FreeBSD 7.x [1]
- Remove leading article from COMMENT
- Correct spelling errors in pkg-descr
PR: ports/174156 [1]
Submitted by: KATO Tsuguru <tkato432@yahoo.com> [1]
Feature safe: yes
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/cdcat/Makefile | 11 | ||||
-rw-r--r-- | deskutils/cdcat/pkg-descr | 4 |
2 files changed, 8 insertions, 7 deletions
diff --git a/deskutils/cdcat/Makefile b/deskutils/cdcat/Makefile index 50a9a95059c9..4a6aea6d68ce 100644 --- a/deskutils/cdcat/Makefile +++ b/deskutils/cdcat/Makefile @@ -12,7 +12,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org -COMMENT= A QT based tool for offline CD/DVD/disk catalogs +COMMENT= Qt based tool for offline CD/DVD/disk catalogs LICENSE= GPLv2 MPL LICENSE_COMB= multi @@ -68,10 +68,6 @@ L7Z_WRKSRC= ${WRKDIR}/${L7Z_NAME} P7Z_WRKSRC= $$(cd ${PORTSDIR}/archivers/p7zip && ${MAKE} -V WRKSRC) MIF_WRKSRC= $$(cd ${PORTSDIR}/multimedia/mediainfo && ${MAKE} -V WRKSRC) -.if ${OSVERSION} < 800000 -BROKEN= does not build on 7.X -.endif - post-extract: @${GZCAT} ${DISTDIR}/${L7Z_DISTFILE} | (cd ${WRKDIR} && ${TAR} -xf -) @${LN} -sf ${L7Z_NAME}-${L7Z_VERSION} ${L7Z_WRKSRC} @@ -83,6 +79,11 @@ post-patch: 's|/dev/sr0|/dev/cd0|' ${BUILD_WRKSRC}/config.cpp @${REINPLACE_CMD} -e \ 's|-ldl||' ${L7Z_WRKSRC}/Test7Zip/Makefile.in +.if ${OSVERSION} < 800501 + @${REINPLACE_CMD} -e \ + 's|const struct dirent|struct dirent|' \ + ${L7Z_WRKSRC}/Lib7Zip/OSFunctions_UnixLike.cpp +.endif pre-configure: @cd ${L7Z_WRKSRC} && ./configure --disable-shared \ diff --git a/deskutils/cdcat/pkg-descr b/deskutils/cdcat/pkg-descr index ed603b7a595c..90ca36fbcd48 100644 --- a/deskutils/cdcat/pkg-descr +++ b/deskutils/cdcat/pkg-descr @@ -1,6 +1,6 @@ -cdcat is a powerful QT based tool for creating fully searcheable offline +cdcat is a powerful Qt based tool for creating fully searchable offline catalogs of the contents of any arbitrary media. Primarily it is most -useful for cataloging CDs, DVDs, and other such removeable media. The +useful for cataloging CDs, DVDs, and other such removable media. The catalogs can be quickly searched (including across multiple catalogs) with regular expressions, exported as CSV or HTML files, sorted, and statistical information gathered. |