summaryrefslogtreecommitdiffstats
path: root/x11/imwheel/Makefile
blob: 566ab35a2ef388be7aab7e5eb308fada9e16d9a1 (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
# Created by: jhb
# $FreeBSD$

PORTNAME=	imwheel
DISTVERSION=	1.0.0pre12
PORTREVISION=	2
CATEGORIES=	x11
MASTER_SITES=	ftp://jcatki.no-ip.org/pub/imwheel/ \
		SF/${PORTNAME}/${PORTNAME}-source/${DISTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Utility to translate mouse wheel actions into X keyboard events

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USE_XORG=	x11 xpm xtst xext xmu
USES=		gmake
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-gpm

OPTIONS_DEFINE=	DOCS

post-patch:
.for i in imwheel.1 util.c
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i}
.endfor

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/EMACS ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud