aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gnome-clipboard-daemon/Makefile
blob: 28d14a792e9fb6eb8e82ca431b4dba12a89a17d2 (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
# $FreeBSD$

PORTNAME=   gnome-clipboard-daemon
PORTVERSION=    1.0
PORTREVISION=   11
CATEGORIES= x11 gnome
MASTER_SITES=   http://members.chello.nl/~h.lai/gnome-clipboard-daemon/
DISTNAME=   ${PORTNAME:S,^gnome-,,}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Program that keeps the content of your X clipboard in memory

LICENSE=    GPLv2

USE_BZIP2=  yes
USE_PKGCONFIG=  build
USE_GNOME=  gtk20
MAKE_JOBS_SAFE= yes

PLIST_FILES=    bin/${PORTNAME}

post-patch:
    @${REINPLACE_CMD} -e \
        's|^CC=|CC?=| ; \
         s|^CFLAGS=|CFLAGS?=| ; \
         s|-o clipboard-daemon |-o ${PORTNAME} |' ${WRKSRC}/Makefile

do-install:
    (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)

.include <bsd.port.mk>