1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/x11/alltray/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: alltray
# Date created: 2005-10-15
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#
PORTNAME= alltray
PORTVERSION= 0.69
PORTREVISION= 4
CATEGORIES= x11
MASTER_SITES= SF
MAINTAINER= acm@FreeBSD.org
COMMENT= Dock any application with no native tray icon
USE_GNOME= gtk20
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
USE_GCC= 3.4+
MAN1= alltray.1
OPTIONS= KDE "Support only KDE desktop" off
.include <bsd.port.pre.mk>
.if defined(WITH_KDE)
CONFIGURE_ARGS= --disable-gconf
.else
USE_GNOME+= gconf2
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/lib/Makefile.in
@${REINPLACE_CMD} -e 's|-L/usr/X11R6/lib||' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|/etc/gconf|${LOCALBASE}/etc/gconf|; \
/THEME_DIR1/ s|/usr/share/|${LOCALBASE}/share/themes/|' \
${WRKSRC}/src/gnome_theme.c
@${REINPLACE_CMD} -e 's|liballtray\.so\.0\.0\.0|liballtray.so.0|; \
s|/usr/lib|${PREFIX}/lib|' ${WRKSRC}/src/child.c
.include <bsd.port.post.mk>