2013-03-22 09:16:07 +01:00
|
|
|
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
2005-10-28 14:24:07 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= alltray
|
2009-04-01 17:06:13 +02:00
|
|
|
PORTVERSION= 0.70
|
2014-07-01 23:43:54 +02:00
|
|
|
PORTREVISION= 5
|
2005-10-28 14:24:07 +02:00
|
|
|
CATEGORIES= x11
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MASTER_SITES= SF
|
2005-10-28 14:24:07 +02:00
|
|
|
|
2006-07-23 04:45:24 +02:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2005-10-28 14:24:07 +02:00
|
|
|
COMMENT= Dock any application with no native tray icon
|
|
|
|
|
2014-07-01 23:43:54 +02:00
|
|
|
USES= libtool pkgconfig
|
2006-07-28 22:25:07 +02:00
|
|
|
USE_GNOME= gtk20
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-08-26 16:06:08 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2005-10-28 14:24:07 +02:00
|
|
|
|
2013-03-22 09:16:07 +01:00
|
|
|
OPTIONS_DEFINE= KDE
|
|
|
|
KDE_DESC= Support only KDE desktop
|
2014-01-06 09:24:24 +01:00
|
|
|
KDE_CONFIGURE_ON= --disable-gconf
|
2006-07-28 22:25:07 +02:00
|
|
|
|
2013-03-22 09:16:07 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2006-07-28 22:25:07 +02:00
|
|
|
|
2014-01-06 09:24:24 +01:00
|
|
|
.if ! ${PORT_OPTIONS:MKDE}
|
2006-07-28 22:25:07 +02:00
|
|
|
USE_GNOME+= gconf2
|
|
|
|
.endif
|
|
|
|
|
2005-10-28 14:24:07 +02:00
|
|
|
post-patch:
|
2009-04-01 17:06:13 +02:00
|
|
|
@${CHMOD} +x ${WRKSRC}/install-sh
|
2014-08-26 16:06:08 +02:00
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's|-ldl||' -e '/^liballtray_la_LIBADD =/s/$$/ -lX11/' \
|
|
|
|
${WRKSRC}/lib/Makefile.in
|
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's|-L/usr/X11R6/lib||' -e '/^alltray_LDADD =/s/$$/ -lX11/' \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
2006-10-14 10:54:54 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/etc/gconf|${LOCALBASE}/etc/gconf|; \
|
2007-10-25 01:37:25 +02:00
|
|
|
/THEME_DIR1/ s|/usr/share/|${LOCALBASE}/share/themes/|' \
|
2005-10-28 14:24:07 +02:00
|
|
|
${WRKSRC}/src/gnome_theme.c
|
2014-07-01 23:43:54 +02:00
|
|
|
@${REINPLACE_CMD} 's|/usr/lib|${PREFIX}/lib|' ${WRKSRC}/src/child.c
|
2005-10-28 14:24:07 +02:00
|
|
|
|
2013-03-22 09:16:07 +01:00
|
|
|
.include <bsd.port.mk>
|