1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/x11/imwheel/Makefile
Mathieu Arnold 7ae7b018cc With the power of USES=dos2unix, get rid of most patches and files
with CRLF.

While there, run make makepatch, rename patches to use the new scheme,
and various fixes.

With hat:	portmgr
Sponsored by:	Absolight
2016-06-20 16:23:28 +00:00

35 lines
782 B
Makefile

# 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= dos2unix gmake
DOS2UNIX_FILES= getopt/getopt.c
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>