diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2013-04-25 04:36:14 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2013-04-25 04:36:14 +0000 |
commit | d789478b75ee2d0e31a49f241013624cdd8a3485 (patch) | |
tree | 20c432d05ad4b8ca93581d530af73ab096e62d9a /deskutils/gxneur/Makefile | |
parent | - perl 5.10 is gone. Fix PERL_CONFIGURE. (diff) |
- 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/Makefile')
-rw-r--r-- | deskutils/gxneur/Makefile | 20 |
1 files changed, 7 insertions, 13 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> |