aboutsummaryrefslogtreecommitdiff
path: root/x11/xdialog
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-07-25 16:24:58 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-07-25 16:24:58 +0000
commita8b67ad6051c9102187a493d8a6031591f905c02 (patch)
treec13668b0009231734338d630468aae3b1025f62b /x11/xdialog
parent3bd5a9ef9a7ddaafaf213e3bea7514d2ce9ba24f (diff)
downloadports-a8b67ad6051c9102187a493d8a6031591f905c02.tar.gz
ports-a8b67ad6051c9102187a493d8a6031591f905c02.zip
Notes
Diffstat (limited to 'x11/xdialog')
-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 81c8b4adb2fd..ed8f08ec51a9 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 505fb5d9ea84..5165968245ce 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 a16d27b5b53d..f611f80cc6b0 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