mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
11b0219cfe
- Updated from 0.22.1 to 0.23.0 - Added Makefile header - Use new options helpers - Added YAD Icon Browser option Changes: https://code.google.com/p/yad/source/browse/trunk/ChangeLog?spec=svn687&r=687 PR: ports/181790 Submitted by: Danilo Egêa Gondolfo <danilogondolfo gmail.com>
50 lines
966 B
Makefile
50 lines
966 B
Makefile
# Created by: Danilo Egea Gondolfo <danilogondolfo@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= yad
|
|
PORTVERSION= 0.23.0
|
|
CATEGORIES= x11 gnome
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= danilogondolfo@gmail.com
|
|
COMMENT= Display GNOME dialogs from the command line
|
|
|
|
USES= gmake pkgconfig
|
|
USE_XZ= yes
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_OMF= yes
|
|
INSTALLS_ICONS= yes
|
|
CONFIGURE_ENV+= DATADIRNAME=share
|
|
|
|
MAN1= yad.1
|
|
|
|
OPTIONS_DEFINE= NLS ICONBROWSER
|
|
ICONBROWSER_DESC= Build YAD icon browser
|
|
OPTIONS_SUB= yes
|
|
|
|
OPTIONS_SINGLE= GTK
|
|
OPTIONS_SINGLE_GTK= GTK2 GTK3
|
|
|
|
OPTIONS_DEFAULT= GTK2
|
|
|
|
NLS_CONFIGURE_OFF= --disable-nls
|
|
NLS_USES= gettext
|
|
GTK2_CONFIGURE_ON= --with-gtk=gtk2
|
|
GTK3_CONFIGURE_ON= --with-gtk=gtk3
|
|
ICONBROWSER_CONFIGURE_ENABLE= icon-browser
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MGTK2}
|
|
USE_GNOME= gtk20
|
|
.else
|
|
USE_GNOME= gtk30
|
|
.endif
|
|
|
|
post-configure:
|
|
.if empty(PORT_OPTIONS:MNLS)
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS =/ s/ po//' ${WRKSRC}/Makefile
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|