summaryrefslogtreecommitdiff
path: root/wm/wmdrawer/Makefile
blob: 297454bbd975ddcb5579e6c51db9f6733884dbb2 (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
# $NetBSD: Makefile,v 1.15 2010/06/13 22:45:32 wiz Exp $
#

DISTNAME=		wmdrawer-0.10.5
PKGREVISION=		6
CATEGORIES=		misc
MASTER_SITES=		http://people.easter-eggs.org/~valos/wmdrawer/

MAINTAINER=		joel@carnat.net
HOMEPAGE=		http://people.easter-eggs.org/~valos/wmdrawer/
COMMENT=		Drawer (retractable button bar) to launch applications

USE_TOOLS+=		gmake gunzip
INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
INSTALLATION_DIRS+=	share/doc/wmdrawer share/examples/wmdrawer
PKG_DESTDIR_SUPPORT=	user-destdir
DIST_SUBDIR=		${PKGNAME_NOREV}

post-build:
	gunzip ${WRKSRC}/doc/wmdrawer.1x.gz

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/wmdrawer ${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/doc/wmdrawer.1x ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/wmdrawer.1
	${INSTALL_DATA} ${WRKSRC}/wmdrawerrc.example ${DESTDIR}${PREFIX}/share/examples/wmdrawer
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DESTDIR}${PREFIX}/share/doc/wmdrawer
	${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DESTDIR}${PREFIX}/share/doc/wmdrawer
	${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/wmdrawer
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/wmdrawer
	${INSTALL_DATA} ${WRKSRC}/TODO ${DESTDIR}${PREFIX}/share/doc/wmdrawer

BUILDLINK_DEPMETHOD.libXt?=	build

.include "../../graphics/gdk-pixbuf/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"