1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/x11/wbar/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

45 lines
988 B
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= wbar
PORTVERSION= 2.3.4
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= GOOGLE_CODE
MAINTAINER= nivit@FreeBSD.org
COMMENT= Simple and highly customizable quick launch bar
LICENSE= GPLv3
BUILD_DEPENDS= intltool-update:${PORTSDIR}/textproc/intltool
LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2
CONFIGURE_ARGS= --exec-prefix=${PREFIX}
USES= pkgconfig gettext gmake tar:tgz
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS WBARCONFIG
OPTIONS_DEFAULT= NLS WBARCONFIG
OPTIONS_SUB= yes
WBARCONFIG_DESC= Build the GTK+ configuration interface
NLS_CONFIGURE_ENABLE= nls
NLS_LIBS= -lintl
WBARCONFIG_CONFIGURE_ENABLE= wbar-config
WBARCONFIG_USE= GNOME=libglade2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_SUB+= DESKTOPDIR=${DESKTOPDIR:S,${PREFIX}/,,}
post-install:
${MV} ${STAGEDIR}${PREFIX}/etc/wbar.d/wbar.desktop ${STAGEDIR}${DESKTOPDIR}/wbar.desktop
.include <bsd.port.mk>