aboutsummaryrefslogtreecommitdiff
path: root/deskutils/xneur/Makefile
blob: 8f8a4e3e0c6dd1f4f413ac3674a4b782d96c24e3 (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
# New ports collection makefile for:	xneur
# Date created:		19 January 2007
# Whom:			Alex "lissyara" Keda <admin@lissyara.su>
#
# $FreeBSD$
#

PORTNAME=	XNeur
PORTVERSION=	0.3
CATEGORIES=	russian
MASTER_SITES=	http://dists.xneur.ru/release-0.3.0/tgz/ CSME

MAINTAINER=	admin@lissyara.su
COMMENT=	Auto keyboard switcher

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-static
USE_XLIB=	yes
USE_BZIP2=	yes
USE_LDCONFIG=	yes

post-patch:
	@${REINPLACE_CMD} -e '/chmod/s|a\+|u+|' ${WRKSRC}/etc/Makefile.in
	@${REINPLACE_CMD} -e '/^am__strip_dir/s#`;#|sed -Ee "s/^(xneurrc|dict)$$$$/\\1.dist/"`;#' \
		${WRKSRC}/etc/Makefile.in ${WRKSRC}/etc/*/Makefile.in

post-install:
	@for i in ${PREFIX}/etc/xneur/*.dist ${PREFIX}/etc/xneur/*/*.dist;\
		do ${CP} -np $$i $${i%.dist}; done

.include <bsd.port.mk>