diff options
author | jgh <jgh@FreeBSD.org> | 2013-04-25 12:36:14 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-04-25 12:36:14 +0800 |
commit | 8837a4c2bd36fbfcad982d776f0a8a3b9b49a976 (patch) | |
tree | 20c432d05ad4b8ca93581d530af73ab096e62d9a /deskutils/gxneur | |
parent | c0283fda36b152fe2a716e14df39c0f497feb2fe (diff) | |
download | freebsd-ports-gnome-8837a4c2bd36fbfcad982d776f0a8a3b9b49a976.tar.gz freebsd-ports-gnome-8837a4c2bd36fbfcad982d776f0a8a3b9b49a976.tar.zst freebsd-ports-gnome-8837a4c2bd36fbfcad982d776f0a8a3b9b49a976.zip |
- adopt USES for gettext and desktop-file-utils
- adopt optionsNG for NLS KNOB
- drop bsd.port.pre.mk inclusion
- trim historical header
Diffstat (limited to 'deskutils/gxneur')
-rw-r--r-- | deskutils/gxneur/Makefile | 20 | ||||
-rw-r--r-- | deskutils/gxneur/pkg-plist | 2 |
2 files changed, 7 insertions, 15 deletions
diff --git a/deskutils/gxneur/Makefile b/deskutils/gxneur/Makefile index c668c1210526..46c5ea25556c 100644 --- a/deskutils/gxneur/Makefile +++ b/deskutils/gxneur/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: gxneur -# Date created: 07 December 2008 -# Whom: Alexander Logvinov <ports@logvinov.com> -# +# Created by: Alexander Logvinov <ports@logvinov.com> # $FreeBSD$ -# PORTNAME= gxneur PORTVERSION= 0.15.0 @@ -21,15 +17,16 @@ MAKE_JOBS_SAFE= yes USE_BZIP2= yes GNU_CONFIGURE= yes -USE_GNOME= desktopfileutils gconf2 gtk20 libglade2 +USES= desktop-file-utils +USE_GNOME= gconf2 gtk20 libglade2 INSTALLS_ICONS= yes MAN1= ${PORTNAME}.1 -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_NLS) -USE_GETTEXT= yes +.if ${PORT_OPTIONS:MNLS} +USES+= gettext PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls @@ -40,7 +37,4 @@ post-patch: @${REINPLACE_CMD} -e '/all_modifiers/d' ${WRKSRC}/src/misc.c @${REINPLACE_CMD} -e 's|-Werror||g' ${WRKSRC}/configure -post-install: - @-update-desktop-database - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/deskutils/gxneur/pkg-plist b/deskutils/gxneur/pkg-plist index b4df777e65e5..e68cb17c9e91 100644 --- a/deskutils/gxneur/pkg-plist +++ b/deskutils/gxneur/pkg-plist @@ -48,8 +48,6 @@ share/applications/gxneur.desktop %%NLS%%share/locale/ro/LC_MESSAGES/gxneur.mo %%NLS%%share/locale/ru/LC_MESSAGES/gxneur.mo %%NLS%%share/locale/uk/LC_MESSAGES/gxneur.mo -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true @dirrm %%DATADIR%%/pixmaps @dirrm %%DATADIR%%/glade @dirrm %%DATADIR%% |