svn commit: r316499 - head/deskutils/gxneur
Jason Helfman
jgh at FreeBSD.org
Thu Apr 25 04:36:15 UTC 2013
Author: jgh
Date: Thu Apr 25 04:36:14 2013
New Revision: 316499
URL: http://svnweb.freebsd.org/changeset/ports/316499
Log:
- adopt USES for gettext and desktop-file-utils
- adopt optionsNG for NLS KNOB
- drop bsd.port.pre.mk inclusion
- trim historical header
Modified:
head/deskutils/gxneur/Makefile
head/deskutils/gxneur/pkg-plist
Modified: head/deskutils/gxneur/Makefile
==============================================================================
--- head/deskutils/gxneur/Makefile Thu Apr 25 03:27:59 2013 (r316498)
+++ head/deskutils/gxneur/Makefile Thu Apr 25 04:36:14 2013 (r316499)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: gxneur
-# Date created: 07 December 2008
-# Whom: Alexander Logvinov <ports at logvinov.com>
-#
+# Created by: Alexander Logvinov <ports at 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>
Modified: head/deskutils/gxneur/pkg-plist
==============================================================================
--- head/deskutils/gxneur/pkg-plist Thu Apr 25 03:27:59 2013 (r316498)
+++ head/deskutils/gxneur/pkg-plist Thu Apr 25 04:36:14 2013 (r316499)
@@ -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
- at exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
- at unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@dirrm %%DATADIR%%/pixmaps
@dirrm %%DATADIR%%/glade
@dirrm %%DATADIR%%
More information about the svn-ports-all
mailing list