summaryrefslogtreecommitdiff
path: root/x11/xnee/Makefile
blob: cc752b231aea06718d9afa7ce7c232394af8ae35 (plain) (blame)
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
37
# New ports collection makefile for:	xnee
# Date created:				27 May 2002
# Whom:					Alexey Dokuchaev <danfe@regency.nsu.ru>
#
# $FreeBSD$
#

PORTNAME=	xnee
PORTVERSION=	1.08
CATEGORIES=	x11
MASTER_SITES=	http://www.sandklef.com/xnee/tars/ \
		${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	X events recorder and player

BUILD_DEPENDS=	texi2html:${PORTSDIR}/textproc/texi2html

USE_X_PREFIX=	yes
USE_PERL5=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}

MAN1=		xnee.1
INFO=		xnee xnee_develop

post-patch:
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \
		's| -g | \@CFLAGS\@ |g ; \
		 s|-lpthread|${PTHREAD_LIBS:S/"//g}|g ; \
		 s|-ldl||g'

post-install:
	${INSTALL_MAN} ${WRKSRC}/xnee/doc/xnee.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>