aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/xfce4/Makefile
blob: dd6096d9768a4117d55773b3ddfe9ae29c253416 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    xfce
# Date created:     30 June 1997
# Whom:         Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   xfce
PORTVERSION=    3.8.6
CATEGORIES= x11-wm
MASTER_SITES=   http://www.xfce.org/archive/

MAINTAINER= nakai@FreeBSD.org

USE_X_PREFIX=   yes
USE_IMLIB=  yes
USE_XPM=    yes
USE_LIBTOOL=    yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        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=       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

pre-build:
    ${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}/libtool

.include <bsd.port.mk>