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

PORTNAME=	trayer
PORTVERSION=	1.1.7
DISTVERSIONPREFIX=	${PORTNAME}-
CATEGORIES=	x11

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

LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2

USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk20 pango
USE_GITHUB=	yes
USES=		iconv gmake pkgconfig
USE_XORG=	x11 xmu
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix="${PREFIX}"

GH_ACCOUNT=	sargon
GH_PROJECT=	${PORTNAME}-srg

PORTDOCS=	README CREDITS CHANGELOG

PLIST_FILES=	bin/trayer man/man1/trayer.1.gz

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud