1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/x11/imwheel/Makefile
Emanuel Haupt 5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +00:00

37 lines
797 B
Makefile

# Created by: jhb
# $FreeBSD$
PORTNAME= imwheel
PORTVERSION= 1.0.0.p12
PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= ftp://jcatki.no-ip.org/pub/imwheel/ \
SF/${PORTNAME}/${PORTNAME}-source/1.0.0pre12
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p12/pre12/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility to translate mouse wheel actions into X keyboard events
USE_XORG= x11 xpm xtst xext xmu
USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gpm
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
.for i in imwheel.1 util.c
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i}
.endfor
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/EMACS ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>