freebsd-ports/x11/imwheel/Makefile
John Baldwin f97d64c503 The imwheel port maps mouse button events to X keyboard events. This
can be used to use the wheel on mice such as the Microsoft IntelliMouse
and the Logitech TrackMan+ in X.
2000-02-23 23:30:22 +00:00

40 lines
854 B
Makefile

# New ports collection makefile for: imwheel-0.9.7
# Version required: 0.9.7
# Date created: 18 Feb 2000
# Whom: jhb
#
# $FreeBSD$
#
DISTNAME= imwheel-0.9.7.nogpm
PKGNAME= imwheel-0.9.7
CATEGORIES= x11
MASTER_SITES= http://jcatki.dhs.org/imwheel/files/
MAINTAINER= jhb@FreeBSD.org
USE_GMAKE= YES
USE_X_PREFIX= YES
WRKSRC= ${WRKDIR}/imwheel
MAN1= imwheel.1
.if defined(NOPORTDOCS)
PLIST= ${PKGDIR}/PLIST.nodocs
.endif
post-patch:
@${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/imwheel.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/imwheel ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/imwheel.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/imwheelrc ${PREFIX}/etc
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/imwheel
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/EMACS \
${PREFIX}/share/doc/imwheel
.endif
.include <bsd.port.mk>