aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cppi
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2012-01-31 04:21:37 +0800
committerjohans <johans@FreeBSD.org>2012-01-31 04:21:37 +0800
commit72fb15ec96fc430af2421e57ec7b4ef454249890 (patch)
treee6cd0c0db6da7b6676fd9ab4bd1771bc7253ffc0 /devel/cppi
parentc50caf06f588965fea9fda53ad4fc9389f9a7da7 (diff)
downloadfreebsd-ports-gnome-72fb15ec96fc430af2421e57ec7b4ef454249890.tar.gz
freebsd-ports-gnome-72fb15ec96fc430af2421e57ec7b4ef454249890.tar.zst
freebsd-ports-gnome-72fb15ec96fc430af2421e57ec7b4ef454249890.zip
Update GNU cppi to version 1.16
- Add a patch to fix charset.alias location - Move PLIST to a separate file, including optional translation files
Diffstat (limited to 'devel/cppi')
-rw-r--r--devel/cppi/Makefile8
-rw-r--r--devel/cppi/distinfo4
-rw-r--r--devel/cppi/pkg-plist11
3 files changed, 19 insertions, 4 deletions
diff --git a/devel/cppi/Makefile b/devel/cppi/Makefile
index 377fae4ef742..7327050884f7 100644
--- a/devel/cppi/Makefile
+++ b/devel/cppi/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= cppi
-PORTVERSION= 1.15
+PORTVERSION= 1.16
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -19,13 +19,17 @@ USE_GETTEXT= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
-PLIST_FILES= bin/cppi
MAN1= cppi.1
.ifndef WITHOUT_NLS
USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's:(libdir)/lib:(libdir):' ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
diff --git a/devel/cppi/distinfo b/devel/cppi/distinfo
index 5b5d6b220c1b..506ad084144e 100644
--- a/devel/cppi/distinfo
+++ b/devel/cppi/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cppi-1.15.tar.xz) = 82bfe3d7ae7a5ca208c71c34cb9b2967ce6251c112b548649a3b9bced9e57cab
-SIZE (cppi-1.15.tar.xz) = 418936
+SHA256 (cppi-1.16.tar.xz) = a8529076461b533b9434d567930441c6cac7b28c2226d6130af754c50192249a
+SIZE (cppi-1.16.tar.xz) = 492184
diff --git a/devel/cppi/pkg-plist b/devel/cppi/pkg-plist
new file mode 100644
index 000000000000..984b5a6fcd97
--- /dev/null
+++ b/devel/cppi/pkg-plist
@@ -0,0 +1,11 @@
+bin/cppi
+%%NLS%%share/locale/eo/LC_MESSAGES/cppi.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/cppi.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/cppi.mo
+%%NLS%%share/locale/it/LC_MESSAGES/cppi.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/cppi.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/cppi.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/cppi.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/cppi.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/cppi.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/cppi.mo