1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

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
This commit is contained in:
Johan van Selst 2012-01-30 20:21:37 +00:00
parent 7254c5d251
commit 97881fd69b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290137
3 changed files with 19 additions and 4 deletions

View File

@ -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>

View File

@ -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

11
devel/cppi/pkg-plist Normal file
View File

@ -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