1997-08-31 19:10:46 +02:00
|
|
|
# New ports collection makefile for: xfce
|
|
|
|
# Date created: 30 June 1997
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1997-08-31 19:10:46 +02:00
|
|
|
#
|
|
|
|
|
2000-04-10 21:50:46 +02:00
|
|
|
PORTNAME= xfce
|
2002-11-20 14:29:26 +01:00
|
|
|
PORTVERSION= 3.8.18
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 8
|
2003-08-16 09:03:34 +02:00
|
|
|
CATEGORIES= x11-wm xfce
|
- 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
|
1997-08-31 19:10:46 +02:00
|
|
|
|
2003-08-17 09:40:39 +02:00
|
|
|
MAINTAINER= oliver@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= CDE like desktop with GTK
|
1997-08-31 19:10:46 +02:00
|
|
|
|
2002-11-20 14:29:26 +01:00
|
|
|
LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile
|
2001-08-05 21:23:40 +02:00
|
|
|
|
2006-12-15 22:00:01 +01:00
|
|
|
USE_GCC= 4.1
|
- 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_XORG= x11 xpm
|
2006-01-26 05:29:21 +01:00
|
|
|
USE_GETTEXT= yes
|
2002-11-20 14:29:26 +01:00
|
|
|
USE_GNOME= gdkpixbuf
|
2002-01-22 22:30:42 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
1999-10-06 05:31:16 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-02-18 11:37:10 +01:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-02-09 22:39:51 +01:00
|
|
|
CONFIGURE_ARGS= --with-conf-dir=${PREFIX}/etc/xfce \
|
|
|
|
--with-data-dir=${PREFIX}/share/xfce \
|
|
|
|
--with-locale-dir=${PREFIX}/share/locale \
|
- 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
|
|
|
--with-xpm=${LOCALBASE} \
|
2002-01-22 22:30:42 +01:00
|
|
|
--enable-gtk-engine=${PREFIX}/lib/gtk/themes/engines \
|
2002-11-20 14:29:26 +01:00
|
|
|
--disable-arts \
|
2007-02-04 13:44:42 +01:00
|
|
|
--enable-taskbar \
|
|
|
|
--enable-xinerama
|
2002-01-22 22:30:42 +01:00
|
|
|
|
2004-02-10 07:41:02 +01:00
|
|
|
OPTIONS= XFT "enable anti-aliased font support" off
|
|
|
|
|
2002-11-20 14:29:26 +01:00
|
|
|
MAN1= glob.1 xfbd.1 xfce.1 xfclock.1 xfglob.1 xfgnome.1 xfhelp.1 \
|
|
|
|
xflock.1 xfmountdev.1 xfmouse.1 xfpager.1 xfprint.1 xfrun.1 \
|
|
|
|
xfskin.1 xfsound.1 xfterm.1 xftrash.1 xftree.1 xfumed.1 xfwm.1
|
1997-08-31 19:10:46 +02:00
|
|
|
|
2001-10-23 07:49:02 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-01-22 22:30:42 +01:00
|
|
|
.if defined(WITH_XFT)
|
- 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_XORG= xft
|
2002-01-22 22:30:42 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-xft
|
|
|
|
.endif
|
|
|
|
|
2003-01-12 03:01:59 +01:00
|
|
|
post-patch:
|
2002-09-01 18:07:59 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|xfplay|internal|g' ${WRKSRC}/other/xfsoundrc.in
|
- 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
|
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/other/xinitrc.in
|
2002-11-20 14:29:26 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG:T}|g' ${WRKSRC}/xfce/setup.c
|
|
|
|
@${REINPLACE_CMD} -e 's|/opt/kde3|${LOCALBASE}|g ; \
|
2006-12-15 22:00:01 +01:00
|
|
|
s|/opt/gnome|${LOCALBASE}|g' ${WRKSRC}/xfmenu/xfmenu.c
|
|
|
|
@${REINPLACE_CMD} -e 's|static \(Atom _XA_WIN_STATE;\)|\1|; \
|
|
|
|
s|static \(Atom _XA_WIN_WORKSPACE;\)|\1|; \
|
|
|
|
s|static \(Atom _XA_WIN_WORKSPACE_COUNT;\)|\1|' \
|
|
|
|
${WRKSRC}/xfgnome/xfgnome.h
|
|
|
|
@${REINPLACE_CMD} -e 's|static \(nmb_history \*headH;\)|\1|' \
|
|
|
|
${WRKSRC}/xfsamba/xfsamba_mem.c
|
2007-02-05 22:00:08 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' ${WRKSRC}/configure
|
2002-08-03 13:35:44 +02:00
|
|
|
|
2001-10-23 07:49:02 +02:00
|
|
|
.include <bsd.port.post.mk>
|