summaryrefslogtreecommitdiffstats
path: root/sysutils/dunst/Makefile
blob: b57e409ad04af96bb3043e5fdddc6645114054d4 (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
37
38
39
40
41
# Created by: Rod Person <rodperson@rodperson.com>
# $FreeBSD$

PORTNAME=	dunst
PORTVERSION=	1.1.0
DISTVERSIONPREFIX=	v
CATEGORIES=	sysutils

MAINTAINER=	rodperson@rodperson.com
COMMENT=	Lightweight notification daemon

LICENSE=	BSD3CLAUSE

LIB_DEPENDS=	libcairo.so:${PORTSDIR}/graphics/cairo \
		libdbus-1.so:${PORTSDIR}/devel/dbus \
		libfreetype.so:${PORTSDIR}/print/freetype2 \
		libnotify.so:${PORTSDIR}/devel/libnotify \
		libpango-1.0.so:${PORTSDIR}/x11-toolkits/pango \
		libxdg-basedir.so:${PORTSDIR}/x11/libxdg-basedir

USE_GITHUB=	yes
GH_ACCOUNT=	knopwob
USES=		execinfo gmake pkgconfig:build perl5
USE_GNOME=	glib20
USE_XORG=	xext xft xinerama xscrnsaver
MAKE_ARGS+=	MANPREFIX="${PREFIX}/man"

ALL_TARGET=	dunst dunstify dunst.1
INSTALL_TARGET=	install

LDFLAGS+=	-Wall -rdynamic -lexecinfo

PLIST_FILES=	bin/dunst \
		share/dunst/dunstrc \
		man/man1/dunst.1.gz \
		share/dbus-1/services/org.knopwob.dunst.service

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dunst

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