# New ports collection makefile for:	xkbctrl
# Date created:		9 January 2000
# Whom:			Yoshiro MIHIRA <sanpei@sanpei.org>
#
# $FreeBSD: ports/x11/xkbctrl/Makefile,v 1.7 2003/02/22 13:24:09 sanpei Exp $
#

PORTNAME=	xkbctrl
PORTVERSION=	1.0
CATEGORIES=	x11
MASTER_SITES=	ftp://ftp.x.org/pub/unsupported/test/Xkb/programs/
DISTFILES=	Imakefile xkbctrl.c

MAINTAINER=	sanpei@FreeBSD.org
COMMENT=	Display and manipulate XKB keyboard controls from the commandline

DIST_SUBDIR=	xkbctrl
USE_IMAKE=	yes
NO_WRKSUBDIR=	yes

do-extract:
		@${RM} -rf ${WRKDIR}
		@${MKDIR} ${WRKDIR}
		@for file in ${DISTFILES}; do \
			${CP} ${DISTDIR}/${DIST_SUBDIR}/$${file} ${WRKSRC}; \
		done

do-install:
		@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.mk>
