summaryrefslogtreecommitdiff
path: root/x11/startup-notification010/Makefile
blob: 16c7d3d39b7c771146dd658c964ca106184a5d85 (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
# $NetBSD: Makefile,v 1.2 2012/07/13 14:22:59 wiz Exp $

DISTNAME=		startup-notification-0.10
PKGREVISION=		2
CATEGORIES=		x11
MASTER_SITES=		http://www.freedesktop.org/software/startup-notification/releases/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.freedesktop.org/wiki/Software/startup-notification
COMMENT=		X11 application startup notification library
LICENSE=		mit AND gnu-lgpl-v2.1

PKG_INSTALLATION_TYPES=	overwrite pkgviews
PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=		pkg-config
GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes

PKGCONFIG_OVERRIDE=	libstartup-notification-1.0.pc.in

DOCDIR=			${PREFIX}/share/doc/startup-notification
INSTALLATION_DIRS+=	${DOCDIR}

post-install:
	cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS COPYING ChangeLog NEWS \
		doc/startup-notification.txt ${DESTDIR}${DOCDIR}

BUILDLINK_DEPMETHOD.libXt?=	build

.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libxcb/buildlink3.mk"
.include "../../x11/xcb-util036/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"