aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2011-05-12 20:27:30 +0000
committerPav Lucistnik <pav@FreeBSD.org>2011-05-12 20:27:30 +0000
commit0d63223bb06dfec50f2465698d77cd8154330448 (patch)
tree5528676038e9cb1cb0ece20aa36f54f83c2cd20d
parenteab39f5a7b5eb067de307da1f41cf1097e9b0751 (diff)
downloadports-0d63223bb06dfec50f2465698d77cd8154330448.tar.gz
ports-0d63223bb06dfec50f2465698d77cd8154330448.zip
Notes
-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