summaryrefslogtreecommitdiff
path: root/sysutils/grun/Makefile
blob: f9c011e59a26731c552fc15877ecae0d39f39075 (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.20 2009/08/26 19:58:19 sno Exp $

DISTNAME=	grun-0.9.3
PKGREVISION=	1
CATEGORIES=	misc
MASTER_SITES=	http://grun.googlecode.com/files/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://code.google.com/p/grun/
HOMEPAGE=	${MASTER_SITES}/grun.html
COMMENT=	GTK+ based Run dialog

GNU_CONFIGURE=		YES
USE_PKGLOCALEDIR=	YES
USE_TOOLS+=		gmake pkg-config

PKG_DESTDIR_SUPPORT=	user-destdir

PKG_SYSCONFSUBDIR=	grun
EGDIR=			${PREFIX}/share/examples/grun
CONF_FILES=		${EGDIR}/gassoc ${PKG_SYSCONFDIR}/gassoc
CONF_FILES+=		${EGDIR}/consfile ${PKG_SYSCONFDIR}/consfile
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 share/examples/grun

post-install:
	${INSTALL_MAN} ${WRKSRC}/grun.1x \
		${DESTDIR}/${PREFIX}/${PKGMANDIR}/man1/grun.1
	${INSTALL_DATA} ${WRKSRC}/gassoc ${DESTDIR}/${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/consfile ${DESTDIR}/${EGDIR}

.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"

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