mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
- Stage support
- Use OPTIONS helpers - The desktop file doesn't define any mime type
This commit is contained in:
parent
bc49c9b50a
commit
1dc5130059
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342283
@ -15,22 +15,15 @@ RUN_DEPENDS= xneur:${PORTSDIR}/deskutils/xneur
|
||||
|
||||
USE_BZIP2= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USES= desktop-file-utils pkgconfig
|
||||
USES= pkgconfig
|
||||
USE_GNOME= gconf2 gtk20 libglade2
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
MAN1= ${PORTNAME}.1
|
||||
OPTIONS_DEFINE= NLS
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
OPTIONS_SUB= yes
|
||||
NLS_USES= gettext
|
||||
NLS_CONFIGURE_OFF= --without-nls
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/all_modifiers/d' ${WRKSRC}/src/misc.c
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/gxneur
|
||||
man/man1/gxneur.1.gz
|
||||
share/applications/gxneur.desktop
|
||||
%%DATADIR%%/pixmaps/am.png
|
||||
%%DATADIR%%/pixmaps/bg.png
|
||||
|
Loading…
Reference in New Issue
Block a user