2007-01-17 13:00:48 +00:00
|
|
|
# New ports collection makefile for: wbar
|
|
|
|
# Date created: 2007-01-16
|
|
|
|
# Whom: Nicola Vitale <nivit@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wbar
|
2012-07-11 21:40:15 +00:00
|
|
|
PORTVERSION= 2.3.0
|
|
|
|
PORTREVISION= 0
|
2007-01-17 13:00:48 +00:00
|
|
|
CATEGORIES= x11
|
2012-07-11 21:40:15 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
2007-01-17 13:00:48 +00:00
|
|
|
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
|
|
COMMENT= A quick launch bar for fluxbox, WindowMaker, Xfce, etc
|
|
|
|
|
2012-07-11 21:40:15 +00:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2011-06-30 13:34:34 +00:00
|
|
|
CONFIGURE_ARGS= --exec-prefix=${PREFIX}
|
2007-01-17 13:00:48 +00:00
|
|
|
|
2011-06-30 13:34:34 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2007-01-17 13:00:48 +00:00
|
|
|
|
2012-07-11 21:40:15 +00:00
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
MANLANG= "" es
|
2007-01-17 13:00:48 +00:00
|
|
|
|
2012-07-11 21:40:15 +00:00
|
|
|
OPTIONS_DEFINE= NLS WBARCONFIG
|
|
|
|
OPTIONS_DEFAULT= NLS WBARCONFIG
|
|
|
|
|
|
|
|
WBARCONFIG_DESC= Build the GTK+ configuration interface
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
|
|
CONFIGURE_ARGS+= --enable-nls
|
2011-06-30 13:34:34 +00:00
|
|
|
CONFIGURE_ENV= LIBS=-lintl
|
|
|
|
PLIST_SUB= NLS=""
|
2012-07-11 21:40:15 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB= NLS="@comment "
|
|
|
|
# The configure script has a couple of bugs...
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e "s,install-data-@USE_NLS@,install-data-no,g" ${WRKSRC}/po/Makefile.in.in
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MWBARCONFIG}
|
|
|
|
CONFIGURE_ARGS+= --enable-wbar-config
|
|
|
|
PLIST_SUB+= WBARCONFIG=""
|
|
|
|
MAN1+= ${PORTNAME}-config.1
|
2011-06-30 13:34:34 +00:00
|
|
|
USE_GNOME= libglade2
|
2012-07-11 21:40:15 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-wbar-config
|
|
|
|
PLIST_SUB+= WBARCONFIG="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
USE_EFL= imlib2
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME+= desktopfileutils intltool
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
|
|
|
PLIST_SUB+= DESKTOPDIR=${DESKTOPDIR:S,${PREFIX}/,,}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MV} ${PREFIX}/etc/wbar.d/wbar.desktop ${DESKTOPDIR}/wbar.desktop
|
2007-01-17 13:00:48 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|