aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/xfce/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/xfce/Makefile')
-rw-r--r--x11-wm/xfce/Makefile25
1 files changed, 16 insertions, 9 deletions
diff --git a/x11-wm/xfce/Makefile b/x11-wm/xfce/Makefile
index 5ae2d130502..0e6a16f1dae 100644
--- a/x11-wm/xfce/Makefile
+++ b/x11-wm/xfce/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xfce
PORTVERSION= 3.7.2
+PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://www.xfce.org/archive/
@@ -14,18 +15,24 @@ MAINTAINER= nakai@FreeBSD.org
USE_X_PREFIX= yes
USE_IMLIB= yes
-USE_ESOUND= yes
USE_XPM= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib -lxpg4"
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share \
- --datadir=${PREFIX}/share \
- --sysconfdir=${PREFIX}/etc \
- --with-xpm=${X11BASE}
+ LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-conf-dir=${PREFIX}/etc/xfce \
+ --with-data-dir=${PREFIX}/share/xfce \
+ --with-locale-dir=${PREFIX}/share/locale \
+ --with-xpm=${X11BASE} \
+ --disable-xinerama
-MAN1= xfbd.1 xfce.1 xfclock.1 xfgnome.1 xfhelp.1 xflock.1 xfmountdev.1 \
- xfmouse.1 xfpager.1 xfprint.1 xfrun.1 xfsound.1 xfterm.1 xftrash.1 \
- xftree.1 xfwm.1 xfglob.1 glob.1
+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 \
+ xfsound.1 xfterm.1 xftrash.1 xftree.1 xfwm.1
+
+pre-patch:
+ @${PERL} -pi -e \
+ 's|DATADIRNAME=lib|DATADIRNAME=share|g ; \
+ s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
+ s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
.include <bsd.port.mk>