1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/russian/xneur/Makefile
Andrew Pantyukhin 8b890aedb4 - Update to 0.6.1
Submited by:	Alex Keda <admin@lissyara.su> (maintainer)
2007-06-09 10:17:01 +00:00

35 lines
913 B
Makefile

# New ports collection makefile for: xneur
# Date created: 19 January 2007
# Whom: Alex "lissyara" Keda <admin@lissyara.su>
#
# $FreeBSD$
#
PORTNAME= xneur
PORTVERSION= 0.6.1
CATEGORIES= russian
MASTER_SITES= http://dists.xneur.ru/release-0.6.1/tgz/ CENKES
MAINTAINER= admin@lissyara.su
COMMENT= Auto keyboard switcher
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
USE_XLIB= yes
USE_BZIP2= yes
USE_LDCONFIG= yes
MAKE_ARGS= pkgconfigdir=${PREFIX}/libdata/pkgconfig
post-patch:
@${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.mk>