mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
36417db26f
- Remove files/patch-src__config__Run.cc - Remove http://nivi.interfree.it/* from MASTER_SITES - Add LICENSE (GPLv3) [2] - Convert to the new options framework [2] - Add WBARCONFIG option (default on) - Enable the NLS option [2] - Set USE_GNOME to desktopfileutils, intltool - Fix the installation path of wbar.desktop [2] - Fix a typo in pkg-descr PR: ports/168167 [1], ports/168778 [2] Submitted by: lbartoletti <coder at tuxfamily.org> [1], Olivier Cochard-Labbe <olivier at cochard.me> [2]
69 lines
1.5 KiB
Makefile
69 lines
1.5 KiB
Makefile
# New ports collection makefile for: wbar
|
|
# Date created: 2007-01-16
|
|
# Whom: Nicola Vitale <nivit@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wbar
|
|
PORTVERSION= 2.3.0
|
|
PORTREVISION= 0
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= A quick launch bar for fluxbox, WindowMaker, Xfce, etc
|
|
|
|
LICENSE= GPLv3
|
|
|
|
CONFIGURE_ARGS= --exec-prefix=${PREFIX}
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
MANLANG= "" es
|
|
|
|
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
|
|
CONFIGURE_ENV= LIBS=-lintl
|
|
PLIST_SUB= NLS=""
|
|
.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
|
|
USE_GNOME= libglade2
|
|
.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
|
|
|
|
.include <bsd.port.mk>
|