- Update to 1.0.5

PR:		135029
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2009-05-28 23:49:06 +00:00
parent 043ce69d39
commit 7675c53ff5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234731
4 changed files with 47 additions and 11 deletions

View file

@ -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 @@ COMMENT= A viewer for Microsoft Help "CHM" files
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>

View file

@ -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

View file

@ -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)

View file

@ -10,15 +10,20 @@ share/applications/chmsee.desktop
%%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