diff options
author | chinsan <chinsan@FreeBSD.org> | 2008-09-07 15:09:31 +0800 |
---|---|---|
committer | chinsan <chinsan@FreeBSD.org> | 2008-09-07 15:09:31 +0800 |
commit | 4a39662f2fe979582739c2e639b07c535f878681 (patch) | |
tree | 4166ad753bf12e34c579b4109b63b803b2566a56 /graphics/mtpaint | |
parent | bbd7d59d13a77598b1bd5d852ce21d1b8360f54a (diff) | |
download | freebsd-ports-gnome-4a39662f2fe979582739c2e639b07c535f878681.tar.gz freebsd-ports-gnome-4a39662f2fe979582739c2e639b07c535f878681.tar.zst freebsd-ports-gnome-4a39662f2fe979582739c2e639b07c535f878681.zip |
- Update to 3.21
- Use NLS macro
Diffstat (limited to 'graphics/mtpaint')
-rw-r--r-- | graphics/mtpaint/Makefile | 12 | ||||
-rw-r--r-- | graphics/mtpaint/distinfo | 6 | ||||
-rw-r--r-- | graphics/mtpaint/pkg-plist | 30 |
3 files changed, 28 insertions, 20 deletions
diff --git a/graphics/mtpaint/Makefile b/graphics/mtpaint/Makefile index 212edceff087..aa62e7466be1 100644 --- a/graphics/mtpaint/Makefile +++ b/graphics/mtpaint/Makefile @@ -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 diff --git a/graphics/mtpaint/distinfo b/graphics/mtpaint/distinfo index 0fe7a3e68ccc..9b3448ed054c 100644 --- a/graphics/mtpaint/distinfo +++ b/graphics/mtpaint/distinfo @@ -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 diff --git a/graphics/mtpaint/pkg-plist b/graphics/mtpaint/pkg-plist index f71351d7c22a..89df54ce954a 100644 --- a/graphics/mtpaint/pkg-plist +++ b/graphics/mtpaint/pkg-plist @@ -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 |