aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-07-26 00:24:58 +0800
committerkrion <krion@FreeBSD.org>2004-07-26 00:24:58 +0800
commit65e6621662fbe388a6890a7dc465ef46f5351b37 (patch)
tree0fd3b96e2af6764dd64934adcfc32820cb757601
parentac55271a240695a61989f77a33d56c5b6d036349 (diff)
downloadfreebsd-ports-graphics-65e6621662fbe388a6890a7dc465ef46f5351b37.tar.gz
freebsd-ports-graphics-65e6621662fbe388a6890a7dc465ef46f5351b37.tar.zst
freebsd-ports-graphics-65e6621662fbe388a6890a7dc465ef46f5351b37.zip
Update to version 2.1.2
PR: ports/69584 Submitted by: Ports Fury
-rw-r--r--x11/xdialog/Makefile25
-rw-r--r--x11/xdialog/distinfo4
-rw-r--r--x11/xdialog/pkg-plist20
3 files changed, 34 insertions, 15 deletions
diff --git a/x11/xdialog/Makefile b/x11/xdialog/Makefile
index 81c8b4adb2f..ed8f08ec51a 100644
--- a/x11/xdialog/Makefile
+++ b/x11/xdialog/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= xdialog
-PORTVERSION= 2.1.1
-PORTREVISION= 1
+PORTVERSION= 2.1.2
CATEGORIES= x11
MASTER_SITES= http://thgodef.nerim.net/xdialog/
DISTNAME= ${PORTNAME:S/x/X/}-${PORTVERSION}
@@ -19,16 +18,30 @@ COMMENT= A drop in replacement for the "dialog" or "cdialog" programs
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= gtk12
+USE_GETOPT_LONG= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-MAN1= Xdialog.1
+MAN1= Xdialog.1
+
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
- 's| install-docDATA||g'
+ 's|m4 lib src|m4 src|g ; \
+ s|-I../lib||g ; \
+ s|-L../lib -lgetopt||g ; \
+ s| install-docDATA||g'
post-install:
.if !defined(NOPORTDOCS)
diff --git a/x11/xdialog/distinfo b/x11/xdialog/distinfo
index 505fb5d9ea8..5165968245c 100644
--- a/x11/xdialog/distinfo
+++ b/x11/xdialog/distinfo
@@ -1,2 +1,2 @@
-MD5 (Xdialog-2.1.1.tar.bz2) = 379cd3983a22d98d4436e8d4f16a56e1
-SIZE (Xdialog-2.1.1.tar.bz2) = 439548
+MD5 (Xdialog-2.1.2.tar.bz2) = fb8177e9d87504329cf08b07d91586a0
+SIZE (Xdialog-2.1.2.tar.bz2) = 447821
diff --git a/x11/xdialog/pkg-plist b/x11/xdialog/pkg-plist
index a16d27b5b53..f611f80cc6b 100644
--- a/x11/xdialog/pkg-plist
+++ b/x11/xdialog/pkg-plist
@@ -1,11 +1,17 @@
bin/Xdialog
-share/locale/de/LC_MESSAGES/Xdialog.mo
-share/locale/es/LC_MESSAGES/Xdialog.mo
-share/locale/fr/LC_MESSAGES/Xdialog.mo
-share/locale/hu/LC_MESSAGES/Xdialog.mo
-share/locale/pt_BR/LC_MESSAGES/Xdialog.mo
-share/locale/ru/LC_MESSAGES/Xdialog.mo
-share/locale/no_NO/LC_MESSAGES/Xdialog.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/Xdialog.mo
+%%NLS%%share/locale/de/LC_MESSAGES/Xdialog.mo
+%%NLS%%share/locale/es/LC_MESSAGES/Xdialog.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/Xdialog.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/Xdialog.mo
+%%NLS%%share/locale/id/LC_MESSAGES/Xdialog.mo
+%%NLS%%share/locale/it/LC_MESSAGES/Xdialog.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/Xdialog.mo
+%%NLS%%share/locale/no_NO/LC_MESSAGES/Xdialog.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/Xdialog.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/Xdialog.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/Xdialog.mo
+%%NLS%%share/locale/sv_SE/LC_MESSAGES/Xdialog.mo
%%PORTDOCS%%%%DOCSDIR%%/2ranges.png
%%PORTDOCS%%%%DOCSDIR%%/authors.html
%%PORTDOCS%%%%DOCSDIR%%/box.html