freebsd-ports/sysutils/dunst/Makefile
Tobias Kortkamp 78d4ab4b81 sysutils/dunst: Update to 1.4.0
Changes:	cf7dec2989/CHANGELOG.md
PR:		236916
Submitted by:	Dmitri Goutnik <dg@syrec.org> (maintainer)
2019-04-14 18:26:06 +00:00

56 lines
1.3 KiB
Makefile

# Created by: Rod Person <rodperson@rodperson.com>
# $FreeBSD$
PORTNAME= dunst
DISTVERSIONPREFIX= v
DISTVERSION= 1.4.0
CATEGORIES= sysutils
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
# https://github.com/dunst-project/dunst/pull/622
PATCHFILES= 6e8de70c822a305d5196c991de69317bba875969.patch:-p1
MAINTAINER= dg@syrec.org
COMMENT= Lightweight notification daemon
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libdbus-1.so:devel/dbus
USES= gmake gnome perl5 pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= dunst-project
USE_GNOME= cairo gdkpixbuf2 pango
USE_PERL5= build
USE_XORG= x11 xext xinerama xrandr xscrnsaver
MAKE_ARGS= MANPREFIX="${PREFIX}/man"
ALL_TARGET= dunst
TEST_TARGET= test
PLIST_FILES= bin/dunst \
share/dunst/dunstrc \
man/man1/dunst.1.gz \
share/dbus-1/services/org.knopwob.dunst.service
OPTIONS_DEFINE= DUNSTIFY
OPTIONS_DEFAULT= DUNSTIFY
DUNSTIFY_DESC= Install dunstify (alternative to the notify-send)
DUNSTIFY_ALL_TARGET= dunstify
DUNSTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
DUNSTIFY_PLIST_FILES= bin/dunstify
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/dunst/
@${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/services/
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dunst
post-install-DUNSTIFY-on:
${INSTALL_PROGRAM} ${WRKSRC}/dunstify ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>