aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xfce4-clipman-plugin/Makefile
blob: 1e3b36e5931c07fdf1db986cc1d6c5340ec781f0 (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
41
42
43
44
45
46
47
48
49
50
# New ports collection makefile for:    xfce4-clipman-plugin
# Date created:     23 November 2003
# Whom:         Matt Lancereau <matt@rimasec.net>
#
# $FreeBSD$
#

PORTNAME=   xfce4-clipman-plugin
PORTVERSION=    1.1.3
PORTREVISION=   8
CATEGORIES= x11 xfce
MASTER_SITES=   ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=    xfce4

MAINTAINER= ports@FreeBSD.org
COMMENT=    XFce 4 clipboard module for xfce4-panel

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

OPTIONS=    UNIQUE  "Enable Unique (single instance) support" on

#BROKEN=        Does not work with xfce 4.8

GNU_CONFIGURE=  yes
USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_GNOME=  gnometarget gtk20 intltool intlhack pkgconfig
USE_XFCE=   configenv libexo libgui libutil panel
USE_XORG=   x11 ice sm xpm

INSTALLS_ICONS= yes

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_UNIQUE)
LIB_DEPENDS+=   unique-1:${PORTSDIR}/x11-toolkits/unique
CONFIGURE_ARGS+=    --enable-unique
.else
CONFIGURE_ARGS+=    --disable-unique
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|exo-0\.3|exo-1|g; \
        s|thunarx-1|thunarx-2|g' \
        ${WRKSRC}/configure

.include <bsd.port.post.mk>