aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/xchm
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2011-05-13 04:27:30 +0800
committerpav <pav@FreeBSD.org>2011-05-13 04:27:30 +0800
commit2672561117f2530dca22d4fd1e70e2721749ed00 (patch)
tree803b976b677b0ac023396070d1d002ea668f62a2 /deskutils/xchm
parent4aa03cbfef449f9bdcbe9948aa50dc1b389370aa (diff)
downloadfreebsd-ports-gnome-2672561117f2530dca22d4fd1e70e2721749ed00.tar.gz
freebsd-ports-gnome-2672561117f2530dca22d4fd1e70e2721749ed00.tar.zst
freebsd-ports-gnome-2672561117f2530dca22d4fd1e70e2721749ed00.zip
- Update to 1.20
PR: ports/156977 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Diffstat (limited to 'deskutils/xchm')
-rw-r--r--deskutils/xchm/Makefile13
-rw-r--r--deskutils/xchm/distinfo4
-rw-r--r--deskutils/xchm/pkg-plist38
3 files changed, 32 insertions, 23 deletions
diff --git a/deskutils/xchm/Makefile b/deskutils/xchm/Makefile
index eee9302f9a1b..3a2e5a24612c 100644
--- a/deskutils/xchm/Makefile
+++ b/deskutils/xchm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xchm
-PORTVERSION= 1.18
+PORTVERSION= 1.20
CATEGORIES= deskutils
MASTER_SITES= SF/${PORTNAME}/xCHM/${PORTNAME}-${PORTVERSION}
@@ -19,11 +19,20 @@ GNU_CONFIGURE= yes
USE_WX= 2.6+
WX_UNICODE= yes
WX_CONF_ARGS= absolute
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CPPFLAGS= "-I${LOCALBASE}/include"
LICENSE= GPLv2
post-patch:
@${REINPLACE_CMD} -e 's|@REZ_COMMAND@||' ${WRKSRC}/src/Makefile.in
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
.include <bsd.port.mk>
diff --git a/deskutils/xchm/distinfo b/deskutils/xchm/distinfo
index bf7b5cf140b9..47bb20859da5 100644
--- a/deskutils/xchm/distinfo
+++ b/deskutils/xchm/distinfo
@@ -1,2 +1,2 @@
-SHA256 (xchm-1.18.tar.gz) = fc9527ca22b848f5e97691a06c8eb8b572c9d5ec77936e48346cc8baf0f77bf3
-SIZE (xchm-1.18.tar.gz) = 403698
+SHA256 (xchm-1.20.tar.gz) = 76c717074ed178abae63692cfa843083922e6d6e3052207d8a3d9d2e8b8db627
+SIZE (xchm-1.20.tar.gz) = 409976
diff --git a/deskutils/xchm/pkg-plist b/deskutils/xchm/pkg-plist
index 19efb805fb84..61902bf8292a 100644
--- a/deskutils/xchm/pkg-plist
+++ b/deskutils/xchm/pkg-plist
@@ -1,23 +1,23 @@
bin/xchm
-share/locale/be/LC_MESSAGES/xchm.mo
-share/locale/bg/LC_MESSAGES/xchm.mo
-share/locale/cs/LC_MESSAGES/xchm.mo
-share/locale/de/LC_MESSAGES/xchm.mo
-share/locale/es/LC_MESSAGES/xchm.mo
-share/locale/fr/LC_MESSAGES/xchm.mo
-share/locale/hu/LC_MESSAGES/xchm.mo
-share/locale/it/LC_MESSAGES/xchm.mo
-share/locale/lv/LC_MESSAGES/xchm.mo
-share/locale/pl/LC_MESSAGES/xchm.mo
-share/locale/pt_BR/LC_MESSAGES/xchm.mo
-share/locale/pt_PT/LC_MESSAGES/xchm.mo
-share/locale/ro/LC_MESSAGES/xchm.mo
-share/locale/ru/LC_MESSAGES/xchm.mo
-share/locale/sk/LC_MESSAGES/xchm.mo
-share/locale/sv/LC_MESSAGES/xchm.mo
-share/locale/uk/LC_MESSAGES/xchm.mo
-share/locale/zh_CN/LC_MESSAGES/xchm.mo
-share/locale/zh_TW/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/be/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/de/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/es/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/it/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/lv/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/pt_PT/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/xchm.mo
share/pixmaps/xchm-128.xpm
share/pixmaps/xchm-16.xpm
share/pixmaps/xchm-32.xpm