aboutsummaryrefslogtreecommitdiffstats
path: root/x11/trayer/Makefile
blob: f1b0d5b60f266c5ba5a4cf8e684449a3ca82e582 (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
# Created by: Alexey Mikhailov <karma@ez.pereslavl.ru>
# $FreeBSD$

PORTNAME=   trayer
PORTVERSION=    1.1.5
CATEGORIES= x11
MASTER_SITES=   http://github.com/sargon/${PORTNAME}-srg/tarball/${PORTNAME}-${PORTVERSION}/
DISTNAME=   sargon-${PORTNAME}-srg-${PORTNAME}-${PORTVERSION}-${GITVERSION}

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

GITVERSION= 0-g5353f80
FETCH_ARGS= -pRr
USE_GNOME=  gtk20 glib20 pango atk
USES=       iconv gmake pkgconfig
USE_XORG=   xmu
MAKE_ARGS=  "PREFIX=${PREFIX}"
WRKSRC=     ${WRKDIR}/sargon-${PORTNAME}-srg-${GITVERSION:S/^0-g//}

PORTDOCS=   README CREDITS CHANGELOG
MAN1=       trayer.1

PLIST_FILES=    bin/trayer

NO_STAGE=   yes
.include <bsd.port.options.mk>

post-install:
    ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>