summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/pinfo/Makefile10
-rw-r--r--misc/pinfo/distinfo2
-rw-r--r--misc/pinfo/pkg-plist1
3 files changed, 9 insertions, 4 deletions
diff --git a/misc/pinfo/Makefile b/misc/pinfo/Makefile
index 8f82637868ae..a764264a632f 100644
--- a/misc/pinfo/Makefile
+++ b/misc/pinfo/Makefile
@@ -6,18 +6,18 @@
#
PORTNAME= pinfo
-PORTVERSION= 0.6.3
+PORTVERSION= 0.6.4
CATEGORIES= misc
MASTER_SITES= http://zeus.polsl.gliwice.pl/~pborys/stable-version/
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= iconv.2:${PORTSDIR}/converters/iconv \
+LIB_DEPENDS= giconv.2:${PORTSDIR}/converters/libiconv \
intl.1:${PORTSDIR}/devel/gettext
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib -lgnuregex"
+ LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-readline \
--with-localedir=${PREFIX}/share/locale
@@ -30,4 +30,8 @@ LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
CONFIGURE_ARGS+= --with-ncurses=${LOCALBASE}
.endif
+pre-patch:
+ @${PERL} -pi -e 's|<iconv.h>|<giconv.h>|g ; \
+ s|-liconv|-lgiconv|g' ${WRKSRC}/configure
+
.include <bsd.port.post.mk>
diff --git a/misc/pinfo/distinfo b/misc/pinfo/distinfo
index e66be9b81888..a6513ef382f4 100644
--- a/misc/pinfo/distinfo
+++ b/misc/pinfo/distinfo
@@ -1 +1 @@
-MD5 (pinfo-0.6.3.tar.gz) = e5ab4675c87bfacde0e0af57583f3e3d
+MD5 (pinfo-0.6.4.tar.gz) = 19502c8218c9cd818f16fc9a905493ea
diff --git a/misc/pinfo/pkg-plist b/misc/pinfo/pkg-plist
index 2272e77a9c58..af73a8bed289 100644
--- a/misc/pinfo/pkg-plist
+++ b/misc/pinfo/pkg-plist
@@ -5,6 +5,7 @@ info/pinfo.info
@exec install-info %D/info/pinfo.info %D/info/dir
share/locale/cs/LC_MESSAGES/pinfo.mo
share/locale/de/LC_MESSAGES/pinfo.mo
+share/locale/ja/LC_MESSAGES/pinfo.mo
share/locale/pl/LC_MESSAGES/pinfo.mo
share/locale/ru/LC_MESSAGES/pinfo.mo
share/locale/sv/LC_MESSAGES/pinfo.mo