aboutsummaryrefslogtreecommitdiffstats
path: root/x11/trayer/Makefile
blob: dd5bc9a422f3e31017a3426a010837778c63c986 (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
# New ports collection makefile for:   trayer
# Date created: Aug 21, 2006
# Whom:         Alexey Mikhailov <karma@ez.pereslavl.ru>
#
# $FreeBSD$
#

PORTNAME=   trayer
PORTVERSION=    1.0
PORTREVISION=   7
CATEGORIES= x11
MASTER_SITES=   ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/t/trayer
DISTNAME=   ${PORTNAME}_${PORTVERSION}.orig

MAINTAINER= ports@FreeBSD.org
COMMENT=    Lightweight GTK2-based systray for UNIX desktop

USE_GNOME=  gtk20 glib20 pango atk
USE_ICONV=  yes
USE_XORG=   xmu
USE_GMAKE=  yes
MAKE_ARGS=  "PREFIX=${PREFIX}"
MAKE_JOBS_UNSAFE=   yes
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

.if !defined(NOPORTDOCS)
PORTDOCS=   README CREDITS CHANGELOG
.endif

PLIST_FILES=    bin/trayer

post-patch:
    @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
        ${WRKSRC}/Makefile.common

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>