aboutsummaryrefslogtreecommitdiffstats
path: root/x11/trayer/Makefile
blob: 0be4409c6af00dfaa05a19fa0db9fbbd87795889 (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
# 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=   5
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}"
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>