blob: 13f1d5e893da034d27ae92e24e5d4160109bd9bc (
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
38
39
40
41
|
# New ports collection makefile for: xneur
# Date created: 19 January 2007
# Whom: Alex "lissyara" Keda <admin@lissyara.su>
#
# $FreeBSD$
#
PORTNAME= xneur
PORTVERSION= 0.6.2
CATEGORIES= russian
MASTER_SITES= http://dists.xneur.ru/release-${DISTVERSION}/tgz/ CENKES
MAINTAINER= admin@lissyara.su
COMMENT= Auto keyboard switcher
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static --libdir=${PREFIX}/lib/xneur
USE_XLIB= yes
USE_BZIP2= yes
USE_LDCONFIG= yes
MAKE_ARGS= pkgconfigdir=${PREFIX}/libdata/pkgconfig
post-patch:
@${REINPLACE_CMD} -e '/^CFLAGS=/s|="|="$$CFLAGS |' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/^am__strip_dir/s#`;#|sed -Ee \
"s/^(dict.dist|proto|proto3|langdef|regexp|xneurrc|xneurrc-be|xneurrc-uk|xneurrc-fr|xneurrc-ro|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.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= does not compile on FreeBSD 5.X
.endif
.include <bsd.port.post.mk>
|