summaryrefslogtreecommitdiff
path: root/x11/xautolock/Makefile
blob: 6cd1454a8e23b8174cf5c1cb0274fa584a13eed0 (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
# $NetBSD: Makefile,v 1.17 2005/04/11 21:48:14 tv Exp $

DISTNAME=	xautolock-pl15
PKGNAME=	xautolock-1.15
PKGREVISION=	1
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_XCONTRIB:=applications/}
EXTRACT_SUFX=	.tgz

MAINTAINER=	tron@NetBSD.org
COMMENT=	Activate xlock after a user defined time of inactivity

PKG_INSTALLATION_TYPES=	overwrite pkgviews

USE_IMAKE=	YES

.include "../../mk/bsd.prefs.mk"

.if (${OPSYS} == SunOS)
PLIST_SRC=	${WRKDIR}/PLIST

post-install:
	${GREP} -v '^man/cat' ${PKGDIR}/PLIST >${PLIST_SRC}
.else
INSTALLATION_DIRS=	man/man1

post-install:
	cd ${WRKSRC}; \
	${INSTALL_MAN} xautolock.man ${PREFIX}/man/man1/xautolock.1
.endif

.include "../../mk/bsd.pkg.mk"