mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
- adopt USES for gettext and desktop-file-utils
- adopt optionsNG for NLS KNOB - drop bsd.port.pre.mk inclusion - trim historical header
This commit is contained in:
parent
57ae803194
commit
d789478b75
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316499
@ -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>
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user