- Update to 3.21
- Use NLS macro
This commit is contained in:
parent
e3eda75169
commit
ac468a60e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220069
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= mtpaint
|
||||
PORTVERSION= 3.20
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 3.21
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF
|
||||
|
||||
@ -21,7 +20,6 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
||||
openjpeg.2:${PORTSDIR}/graphics/openjpeg \
|
||||
freetype.9:${PORTSDIR}/print/freetype2
|
||||
|
||||
USE_GETTEXT= yes
|
||||
USE_BZIP2= yes
|
||||
USE_GNOME= gtk20
|
||||
HAS_CONFIGURE= yes
|
||||
@ -34,6 +32,14 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${MAN1PREFIX}/man/man1 \
|
||||
MAN1= ${PORTNAME}.1
|
||||
MANCOMPRESSED= yes
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-o /dev/null|-o `mktemp -t /tmp`|' ${WRKSRC}/configure
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (mtpaint-3.20.tar.bz2) = 772f96288f6dc7c78597e4878fc68597
|
||||
SHA256 (mtpaint-3.20.tar.bz2) = 978e04a3553a3f2abf2980008146cd0bedacdb6baa687531c310b4262bab3ce8
|
||||
SIZE (mtpaint-3.20.tar.bz2) = 389264
|
||||
MD5 (mtpaint-3.21.tar.bz2) = f685b6fbb16966dc5d343f0e63932027
|
||||
SHA256 (mtpaint-3.21.tar.bz2) = 381eadcf6e4ba7b2554fa527e9654c63153cf52650932d5e9e602c4706b62eb0
|
||||
SIZE (mtpaint-3.21.tar.bz2) = 415411
|
||||
|
@ -1,18 +1,20 @@
|
||||
bin/mtpaint
|
||||
share/applications/mtpaint.desktop
|
||||
share/locale/cs/LC_MESSAGES/mtpaint.mo
|
||||
share/locale/de_DE/LC_MESSAGES/mtpaint.mo
|
||||
share/locale/es/LC_MESSAGES/mtpaint.mo
|
||||
share/locale/fr/LC_MESSAGES/mtpaint.mo
|
||||
share/locale/ja/LC_MESSAGES/mtpaint.mo
|
||||
share/locale/pl/LC_MESSAGES/mtpaint.mo
|
||||
share/locale/pt/LC_MESSAGES/mtpaint.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/mtpaint.mo
|
||||
share/locale/sk/LC_MESSAGES/mtpaint.mo
|
||||
share/locale/tr/LC_MESSAGES/mtpaint.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/mtpaint.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/mtpaint.mo
|
||||
%%NLS%%share/locale/cs/LC_MESSAGES/mtpaint.mo
|
||||
%%NLS%%share/locale/de_DE/LC_MESSAGES/mtpaint.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/mtpaint.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/mtpaint.mo
|
||||
%%NLS%%share/locale/gl/LC_MESSAGES/mtpaint.mo
|
||||
%%NLS%%share/locale/ja/LC_MESSAGES/mtpaint.mo
|
||||
%%NLS%%share/locale/pl/LC_MESSAGES/mtpaint.mo
|
||||
%%NLS%%share/locale/pt/LC_MESSAGES/mtpaint.mo
|
||||
%%NLS%%share/locale/pt_BR/LC_MESSAGES/mtpaint.mo
|
||||
%%NLS%%share/locale/ru/LC_MESSAGES/mtpaint.mo
|
||||
%%NLS%%share/locale/sk/LC_MESSAGES/mtpaint.mo
|
||||
%%NLS%%share/locale/tr/LC_MESSAGES/mtpaint.mo
|
||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/mtpaint.mo
|
||||
%%NLS%%share/locale/zh_TW/LC_MESSAGES/mtpaint.mo
|
||||
share/pixmaps/mtpaint.png
|
||||
@dirrmtry share/applications
|
||||
@dirrmtry share/locale/de_DE/LC_MESSAGES
|
||||
@dirrmtry share/locale/de_DE
|
||||
@dirrmtry %%NLS%%share/locale/de_DE/LC_MESSAGES
|
||||
@dirrmtry %%NLS%%share/locale/de_DE
|
||||
|
Loading…
Reference in New Issue
Block a user