2005-10-28 14:24:07 +02:00
|
|
|
# New ports collection makefile for: alltray
|
|
|
|
# Date created: 2005-10-15
|
|
|
|
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= alltray
|
2006-07-28 22:25:07 +02:00
|
|
|
PORTVERSION= 0.69
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 4
|
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
|
|
|
|
|
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
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
2005-10-28 14:24:07 +02:00
|
|
|
|
|
|
|
MAN1= alltray.1
|
|
|
|
|
2006-07-28 22:25:07 +02:00
|
|
|
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
|
|
|
|
|
2005-10-28 14:24:07 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/lib/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's|-L/usr/X11R6/lib||' ${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
|
|
|
|
@${REINPLACE_CMD} -e 's|liballtray\.so\.0\.0\.0|liballtray.so.0|; \
|
|
|
|
s|/usr/lib|${PREFIX}/lib|' ${WRKSRC}/src/child.c
|
|
|
|
|
2006-07-28 22:25:07 +02:00
|
|
|
.include <bsd.port.post.mk>
|