Date: Fri, 29 May 2009 03:00:10 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/135029: Update port: deskutils/chmsee to 1.0.5 Message-ID: <20090529030010.8bf36474.tkato432@yahoo.com> Resent-Message-ID: <200905281810.n4SIA0Xe086492@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 135029 >Category: ports >Synopsis: Update port: deskutils/chmsee to 1.0.5 >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: Thu May 28 18:10:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.2-RELEASE i386 >Organization: >Environment: >Description: - Update to version 1.0.5 New file: files/patch-CMakeLists.txt >How-To-Repeat: >Fix: diff -urN /usr/ports/deskutils/chmsee/Makefile deskutils/chmsee/Makefile --- /usr/ports/deskutils/chmsee/Makefile 2009-04-03 19:03:13.000000000 +0900 +++ deskutils/chmsee/Makefile 2009-05-20 21:43:38.000000000 +0900 @@ -6,7 +6,7 @@ # PORTNAME= chmsee -PORTVERSION= 1.0.4 +PORTVERSION= 1.0.5 CATEGORIES= deskutils gnome MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} @@ -16,17 +16,38 @@ LIB_DEPENDS= chm.0:${PORTSDIR}/misc/chmlib \ gcrypt.16:${PORTSDIR}/security/libgcrypt -USE_GNOME= gnomehack gnomehier libglade2 -USE_GECKO= firefox seamonkey xulrunner +USE_GNOME= gnomehier libglade2 +USE_GECKO= firefox libxul seamonkey xulrunner mozilla USE_GETTEXT= yes -USE_GMAKE= yes -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS= --with-gecko=${GECKO} +USE_CMAKE= yes +CMAKE_USE_PTHREAD= yes +CMAKE_ARGS= -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=TRUE MAN1= chmsee.1 .include <bsd.port.pre.mk> .include "${PORTSDIR}/www/mozilla/bsd.gecko.mk" + +.if defined(GECKO) && ${GECKO:Mlibxul}!="" +GTKMOZEMBED_LIB="${GECKO}-embedding-unstable nspr" +.else +GTKMOZEMBED_LIB="${GECKO}-gtkmozembed" +CFLAGS+= -I${LOCALBASE}/include/${GECKO}/commandhandler \ + -I${LOCALBASE}/include/${GECKO}/locale \ + -DGECKO_LIB_ROOT="\\\"\"${LOCALBASE}/lib/${GECKO}\"\\\"" +.endif + +post-extract: + @(cd ${WRKSRC}/data; ${CP} -f chmsee.desktop.in chmsee.desktop.skel) + +post-patch: + @${REINPLACE_CMD} -e \ + '/REQUIRED/s|libxul-embedding-unstable|${GTKMOZEMBED_LIB}|g ; \ + /FLAVOUR/s|libxul|${GECKO}|g' ${WRKSRC}/CMakeLists.txt + @${REINPLACE_CMD} -e \ + 's|.desktop.in|.desktop.skel|g' ${WRKSRC}/data/CMakeLists.txt + +post-install: + ${INSTALL_MAN} ${WRKSRC}/doc/chmsee.1 ${MANPREFIX}/man/man1 + .include <bsd.port.post.mk> diff -urN /usr/ports/deskutils/chmsee/distinfo deskutils/chmsee/distinfo --- /usr/ports/deskutils/chmsee/distinfo 2009-04-03 19:03:13.000000000 +0900 +++ deskutils/chmsee/distinfo 2009-05-19 00:45:22.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (chmsee-1.0.4.tar.gz) = 43d40e0db8ed447ace76ca58c7cdb51e -SHA256 (chmsee-1.0.4.tar.gz) = ab21979fb3f503e9d00db5037dd4fbea8cacad3f455df253ea5fe77c7d3243ed -SIZE (chmsee-1.0.4.tar.gz) = 260449 +MD5 (chmsee-1.0.5.tar.gz) = 8ba5cfa8549a5e5275cc52970c951989 +SHA256 (chmsee-1.0.5.tar.gz) = e179b0d3910aa453432160f4b0f4c5eb5ce0a8d1946b6a72d90dfb613e28508f +SIZE (chmsee-1.0.5.tar.gz) = 427885 diff -urN /usr/ports/deskutils/chmsee/files/patch-src__CMakeLists.txt deskutils/chmsee/files/patch-src__CMakeLists.txt --- /usr/ports/deskutils/chmsee/files/patch-src__CMakeLists.txt 1970-01-01 09:00:00.000000000 +0900 +++ deskutils/chmsee/files/patch-src__CMakeLists.txt 2009-05-19 01:37:25.000000000 +0900 @@ -0,0 +1,10 @@ +--- src/CMakeLists.txt.orig 2009-05-17 15:48:23.000000000 +0900 ++++ src/CMakeLists.txt 2009-05-19 01:37:10.000000000 +0900 +@@ -49,6 +49,7 @@ + ${CHMSEE_LIBRARIES} + chm + gcrypt ++ md + ) + + add_executable(chmsee main.cpp) diff -urN /usr/ports/deskutils/chmsee/pkg-plist deskutils/chmsee/pkg-plist --- /usr/ports/deskutils/chmsee/pkg-plist 2009-04-03 19:03:13.000000000 +0900 +++ deskutils/chmsee/pkg-plist 2009-05-19 02:05:06.000000000 +0900 @@ -10,15 +10,20 @@ %%DATADIR%%/hide-pane.png %%DATADIR%%/show-pane.png share/locale/bn/LC_MESSAGES/chmsee.mo +share/locale/cs/LC_MESSAGES/chmsee.mo +share/locale/el/LC_MESSAGES/chmsee.mo share/locale/en_GB/LC_MESSAGES/chmsee.mo share/locale/es/LC_MESSAGES/chmsee.mo share/locale/fr/LC_MESSAGES/chmsee.mo share/locale/he/LC_MESSAGES/chmsee.mo share/locale/it/LC_MESSAGES/chmsee.mo share/locale/nb/LC_MESSAGES/chmsee.mo +share/locale/pt/LC_MESSAGES/chmsee.mo +share/locale/pt_BR/LC_MESSAGES/chmsee.mo share/locale/ru/LC_MESSAGES/chmsee.mo share/locale/sv/LC_MESSAGES/chmsee.mo share/locale/sw/LC_MESSAGES/chmsee.mo +share/locale/uk/LC_MESSAGES/chmsee.mo share/locale/zh_CN/LC_MESSAGES/chmsee.mo share/mime-info/chmsee.keys share/mime-info/chmsee.mime >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090529030010.8bf36474.tkato432>